function views_handler_argument::option_definition

Overrides views_handler::option_definition

6 calls to views_handler_argument::option_definition()
views_handler_argument_many_to_one::option_definition in handlers/views_handler_argument_many_to_one.inc
Information about options for all kinds of purposes will be held here.
views_handler_argument_null::option_definition in handlers/views_handler_argument_null.inc
Information about options for all kinds of purposes will be held here.
views_handler_argument_numeric::option_definition in handlers/views_handler_argument_numeric.inc
Information about options for all kinds of purposes will be held here.
views_handler_argument_string::option_definition in handlers/views_handler_argument_string.inc
Information about options for all kinds of purposes will be held here.
views_handler_argument_term_node_tid_depth::option_definition in modules/taxonomy/views_handler_argument_term_node_tid_depth.inc
Information about options for all kinds of purposes will be held here.

... See full list

6 methods override views_handler_argument::option_definition()
views_handler_argument_many_to_one::option_definition in handlers/views_handler_argument_many_to_one.inc
Information about options for all kinds of purposes will be held here.
views_handler_argument_null::option_definition in handlers/views_handler_argument_null.inc
Information about options for all kinds of purposes will be held here.
views_handler_argument_numeric::option_definition in handlers/views_handler_argument_numeric.inc
Information about options for all kinds of purposes will be held here.
views_handler_argument_string::option_definition in handlers/views_handler_argument_string.inc
Information about options for all kinds of purposes will be held here.
views_handler_argument_term_node_tid_depth::option_definition in modules/taxonomy/views_handler_argument_term_node_tid_depth.inc
Information about options for all kinds of purposes will be held here.

... See full list

File

handlers/views_handler_argument.inc, line 211

Class

views_handler_argument
Base class for arguments.

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['default_action'] = array(
    'default' => 'ignore',
  );
  $options['exception'] = array(
    'contains' => array(
      'value' => array(
        'default' => 'all',
      ),
      'title_enable' => array(
        'default' => FALSE,
        'bool' => TRUE,
      ),
      'title' => array(
        'default' => 'All',
        'translatable' => TRUE,
      ),
    ),
  );
  $options['title_enable'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['title'] = array(
    'default' => '',
    'translatable' => TRUE,
  );
  $options['breadcrumb_enable'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['breadcrumb'] = array(
    'default' => '',
    'translatable' => TRUE,
  );
  $options['default_argument_type'] = array(
    'default' => 'fixed',
    'export' => 'export_plugin',
  );
  $options['default_argument_options'] = array(
    'default' => array(),
    'export' => FALSE,
  );
  $options['default_argument_skip_url'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['summary_options'] = array(
    'default' => array(),
    'export' => FALSE,
  );
  $options['summary'] = array(
    'contains' => array(
      'sort_order' => array(
        'default' => 'asc',
      ),
      'number_of_records' => array(
        'default' => 0,
      ),
      'format' => array(
        'default' => 'default_summary',
        'export' => 'export_summary',
      ),
    ),
  );
  $options['specify_validation'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['validate'] = array(
    'contains' => array(
      'type' => array(
        'default' => 'none',
        'export' => 'export_validation',
      ),
      'fail' => array(
        'default' => 'not found',
      ),
    ),
  );
  $options['validate_options'] = array(
    'default' => array(),
    'export' => FALSE,
  );
  return $options;
}