function views_handler_field_aggregator_category::options_form

Provide link to category option.

Overrides views_handler_field::options_form

File

modules/aggregator/views_handler_field_aggregator_category.inc, line 36

Class

views_handler_field_aggregator_category
Field handler to provide simple renderer that allows linking to aggregator category.

Code

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