public function TripalField::settingsForm
3.x TripalField.inc | public TripalField::settingsForm($has_data) |
Provides a form for the 'Field Settings' of the field management page.
This is an optional hook function and is similar to the hook_field_settings_form function().
Parameters
$has_data: TRUE if the field already has data, FALSE if not.
1 method overrides TripalField::settingsForm()
- rdfs__type::settingsForm in tripal/
includes/ TripalFields/ rdfs__type/ rdfs__type.inc
File
- tripal/
includes/ TripalFields/ TripalField.inc, line 627
Class
Code
public function settingsForm($has_data) {
$settings = $this->field['settings'];
$element = array();
$element['#field'] = $this->field;
$element['#instance'] = $this->instance;
$element['#element_validate'][] = 'tripal_field_settings_form_validate';
return $element;
}