You are here

function views_handler_field_system_info_stylesheets::options_form in Views System 7.3

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

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

Overrides views_handler_field_prerender_list::options_form

File

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

Class

views_handler_field_system_info_stylesheets
Provides display options and renders the stylesheets field of the system item.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['system_info_stylesheets_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: [filename], [media]'),
    '#default_value' => !empty($this->options['system_info_stylesheets_format']) ? $this->options['system_info_stylesheets_format'] : '[filename] ([media])',
  );
}