function flag_clear_handler_field_clear::options_form in Flag clear 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- includes/
views/ flag_clear_handler_field_clear.inc, line 51 - Contains the flag clearing field handler.
Class
- flag_clear_handler_field_clear
- Views field handler for the Flag clearing links.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['link_text'] = array(
'#type' => 'textfield',
'#title' => t('Link text'),
'#default_value' => $this->options['link_text'],
);
}