1 views_handler_argument.inc views_handler_argument::get_default_argument()

Get a default argument, if available.

File

core/modules/views/handlers/views_handler_argument.inc, line 801
@todo.

Class

views_handler_argument
Base class for arguments.

Code

function get_default_argument() {
  $plugin = $this->get_plugin('argument default');
  if ($plugin) {
    return $plugin->get_argument();
  }
}