function shurly_handler_field_shurly_link_edit::options_form in ShURLy 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- views/
shurly_handler_field_shurly_link_edit.inc, line 25 - Shurly Views handler for editing links function
Class
- shurly_handler_field_shurly_link_edit
- Field handler to present a link to the short URL entry.
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'],
);
}