function views_handler_field_locale_link_edit::options_form in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 modules/locale/views_handler_field_locale_link_edit.inc \views_handler_field_locale_link_edit::options_form()
- 7.3 modules/locale/views_handler_field_locale_link_edit.inc \views_handler_field_locale_link_edit::options_form()
Default options form that provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- modules/
locale/ views_handler_field_locale_link_edit.inc, line 20
Class
- views_handler_field_locale_link_edit
- Field handler to present a link to edit a translation.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['text'] = array(
'#type' => 'textfield',
'#title' => t('Text to display'),
'#default_value' => $this->options['text'],
);
}