function views_plugin_argument_default_variable::get_argument in Variable 7
Same name and namespace in other branches
- 7.2 variable_views/includes/views_plugin_argument_default_variable.inc \views_plugin_argument_default_variable::get_argument()
Return the default argument.
This needs to be overridden by every default argument handler to properly do what is needed.
Overrides views_plugin_argument_default::get_argument
File
- variable_views/
includes/ views_plugin_argument_default_variable.inc, line 42 - Contains the php code argument default plugin.
Class
- views_plugin_argument_default_variable
- Default argument plugin to provide a variable value.
Code
function get_argument() {
return variable_get_value($this->options['variable']);
}