You are here

function views_handler_field_system_info_configure::options_form in Views System 7.3

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

Overrides views_handler_field::options_form

File

views/handlers/views_handler_field_system_info_configure.inc, line 27
Views field handler for the views_system module.

Class

views_handler_field_system_info_configure
Provides display options and renders the configure field of the system item.

Code

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