function views_handler_argument::get_default_argument
Same name in other branches
- 6.x-3.x handlers/views_handler_argument.inc \views_handler_argument::get_default_argument()
Get a default argument, if available.
1 call to views_handler_argument::get_default_argument()
- views_handler_argument_date::get_default_argument in handlers/
views_handler_argument_date.inc - Set the empty argument value to the current date.
1 method overrides views_handler_argument::get_default_argument()
- views_handler_argument_date::get_default_argument in handlers/
views_handler_argument_date.inc - Set the empty argument value to the current date.
File
-
handlers/
views_handler_argument.inc, line 836
Class
- views_handler_argument
- Base class for arguments.
Code
public function get_default_argument() {
$plugin = $this->get_plugin('argument default');
if ($plugin) {
return $plugin->get_argument();
}
}