You are here

function timeline_bookmark_field_link::options_form in MediaFront 7.2

Default options form provides the label widget that all fields should have.

Overrides views_handler_field::options_form

File

modules/timeline_bookmark/views/timeline_bookmark_field_link.inc, line 16

Class

timeline_bookmark_field_link
Views field handler for the Timeline Bookmark link.

Code

function options_form(&$form, &$form_state) {
  $form['bookmark_text'] = array(
    '#type' => 'textfield',
    '#title' => t('Bookmark Text'),
    '#default_value' => $this->options['bookmark_text'],
    '#description' => t('Enter the text you would like the bookmark to say.'),
  );
  parent::options_form($form, $form_state);
}