You are here

function views_handler_field_system_info_regions::options_form in Views System 6.2

Same name and namespace in other branches
  1. 6.3 views/handlers/views_handler_field_system_info_regions.inc \views_handler_field_system_info_regions::options_form()
  2. 7.3 views/handlers/views_handler_field_system_info_regions.inc \views_handler_field_system_info_regions::options_form()

File

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

Class

views_handler_field_system_info_regions
Provides display options and renders the regions field of the system item.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['system_info_regions_format'] = array(
    '#type' => 'textfield',
    '#title' => t('Display format'),
    '#description' => t('Alter the output of this field by specifying a string of text with replacement tokens. Replacement patterns: [human_name], [machine_name]'),
    '#default_value' => !empty($this->options['system_info_regions_format']) ? $this->options['system_info_regions_format'] : '[human_name] ([machine_name])',
  );
}