You are here

public function views_plugin_argument_default_fixed::options_form in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_argument_default_fixed.inc \views_plugin_argument_default_fixed::options_form()

Provide the default form for setting options.

Overrides views_plugin_argument_default::options_form

File

plugins/views_plugin_argument_default_fixed.inc, line 28
Definition of views_plugin_argument_default_fixed.

Class

views_plugin_argument_default_fixed
The fixed argument default handler.

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['argument'] = array(
    '#type' => 'textfield',
    '#title' => t('Fixed value'),
    '#default_value' => $this->options['argument'],
  );
}