public function data__sequence_length::elementInfo

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

Overrides TripalField::elementInfo

See also

TripalField::elementInfo()

File

tripal_chado/includes/TripalFields/data__sequence_length/data__sequence_length.inc, line 61

Class

data__sequence_length

Code

public function elementInfo() {
  $field_term = $this->getFieldTermID();
  return array(
    $field_term => array(
      'operations' => array('eq', 'gt', 'lt', 'gte', 'lte'),
      'sortable' => TRUE,
      'searchable' => TRUE,
      'type' => 'xs:integer',
      'readonly' => TRUE,
    ),
  );
}