You are here

function biblio_handler_field_biblio_keyword_data_word::options_form in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 views/biblio_handler_field_biblio_keyword_data_word.inc \biblio_handler_field_biblio_keyword_data_word::options_form()
  2. 6 views/biblio_handler_field_biblio_keyword_data_word.inc \biblio_handler_field_biblio_keyword_data_word::options_form()
  3. 7 views/biblio_handler_field_biblio_keyword_data_word.inc \biblio_handler_field_biblio_keyword_data_word::options_form()

Provide link to taxonomy option

Overrides views_handler_field::options_form

File

views/biblio_handler_field_biblio_keyword_data_word.inc, line 32

Class

biblio_handler_field_biblio_keyword_data_word

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['link_to_keyword'] = array(
    '#title' => t('Link this field to its keyword page'),
    '#description' => t('This will override any other link you have set.'),
    '#type' => 'checkbox',
    '#default_value' => !empty($this->options['link_to_keyword']),
  );
}