public function ChadoField::instanceSettingsForm
3.x ChadoField.inc | public ChadoField::instanceSettingsForm() |
Overrides TripalField::instanceSettingsForm
See also
TripalField::instanceSettingsForm()
3 calls to ChadoField::instanceSettingsForm()
- obi__organism::instanceSettingsForm in tripal_chado/
includes/ TripalFields/ obi__organism/ obi__organism.inc - sbo__relationship::instanceSettingsForm in tripal_chado/
includes/ TripalFields/ sbo__relationship/ sbo__relationship.inc - schema__additional_type::instanceSettingsForm in tripal_chado/
includes/ TripalFields/ schema__additional_type/ schema__additional_type.inc
3 methods override ChadoField::instanceSettingsForm()
- obi__organism::instanceSettingsForm in tripal_chado/
includes/ TripalFields/ obi__organism/ obi__organism.inc - sbo__relationship::instanceSettingsForm in tripal_chado/
includes/ TripalFields/ sbo__relationship/ sbo__relationship.inc - schema__additional_type::instanceSettingsForm in tripal_chado/
includes/ TripalFields/ schema__additional_type/ schema__additional_type.inc
File
- tripal_chado/
includes/ TripalFields/ ChadoField.inc, line 155
Class
Code
public function instanceSettingsForm() {
// Make sure we don't lose our Chado table mappings when the settings
// are updated. Setting them as values in the form ensures they don't
// get accidentally overwritten.
$element['base_table'] = array(
'#type' => 'value',
'#value' => $this->instance['settings']['base_table'],
);
$element['chado_table'] = array(
'#type' => 'value',
'#value' => $this->instance['settings']['chado_table'],
);
$element['chado_column'] = array(
'#type' => 'value',
'#value' => $this->instance['settings']['chado_column'],
);
return $element;
}