function views_handler_field_fontyourface_tag_font_tid::options_form in @font-your-face 6.2
Same name and namespace in other branches
- 7.2 modules/fontyourface_ui/views/views_handler_field_fontyourface_tag_font_tid.inc \views_handler_field_fontyourface_tag_font_tid::options_form()
- 7 views/views_handler_field_fontyourface_tag_font_tid.inc \views_handler_field_fontyourface_tag_font_tid::options_form()
Provide "link to term" option.
File
- views/
views_handler_field_fontyourface_tag_font_tid.inc, line 34 - Views handler.
Class
- views_handler_field_fontyourface_tag_font_tid
- Field handler for tags. Largely copied from views_handler_field_term_node_tid.inc
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['link_to_tag'] = array(
'#title' => t('Link this field to its tag page'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['link_to_tag']),
);
}