public function biblio_handler_field_export_link::options_form in Bibliography Module 7
Same name and namespace in other branches
- 6.2 views/biblio_handler_field_export_link.inc \biblio_handler_field_export_link::options_form()
- 7.2 views/biblio_handler_field_export_link.inc \biblio_handler_field_export_link::options_form()
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- views/
biblio_handler_field_export_link.inc, line 38
Class
Code
public function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$text = !empty($this->options['text']) ? $this->options['text'] : $this->definition['format name'];
$form['text'] = array(
'#type' => 'textfield',
'#title' => t('Text to display'),
'#default_value' => $text,
);
}