function views_handler_argument::option_definition
Same name in other branches
- 7.x-3.x handlers/views_handler_argument.inc \views_handler_argument::option_definition()
Overrides views_handler::option_definition
5 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.
5 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.
File
-
handlers/
views_handler_argument.inc, line 94
Class
- views_handler_argument
- Base class for arguments.
Code
function option_definition() {
$options = parent::option_definition();
$options['default_action'] = array(
'default' => 'ignore',
);
$options['style_plugin'] = array(
'default' => 'default_summary',
'export' => 'export_style',
);
$options['style_options'] = array(
'default' => array(),
'export' => FALSE,
);
$options['wildcard'] = array(
'default' => 'all',
);
$options['wildcard_substitution'] = array(
'default' => t('All'),
'translatable' => TRUE,
);
$options['title'] = array(
'default' => '',
'translatable' => 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,
);
$options['validate_type'] = array(
'default' => 'none',
'export' => 'export_plugin',
);
$options['validate_options'] = array(
'default' => array(),
'export' => FALSE,
);
$options['validate_fail'] = array(
'default' => 'not found',
);
return $options;
}