public function data__protein_sequence::elementInfo

3.x data__protein_sequence.inc public data__protein_sequence::elementInfo()

Overrides TripalField::elementInfo

See also

TripalField::elementInfo()

File

tripal_chado/includes/TripalFields/data__protein_sequence/data__protein_sequence.inc, line 58

Class

data__protein_sequence

Code

public function elementInfo() {
  $field_term = $this->getFieldTermID();
  $info = array(
    $field_term => array(
      'label' => 'Protein sequence',
      'help' => 'The polypeptide sequence derived from mRNA',
      'sortable' => FALSE,
      'searchable' => FALSE,
      'type' => 'xs:string',
      'readonly' => FALSE,
    ),
  );
  return $info;
}