function views_handler_argument::has_default_argument

Same name in other branches
  1. 7.x-3.x handlers/views_handler_argument.inc \views_handler_argument::has_default_argument()

Determine if the argument is set to provide a default argument.

File

handlers/views_handler_argument.inc, line 521

Class

views_handler_argument
Base class for arguments.

Code

function has_default_argument() {
    $info = $this->default_actions($this->options['default_action']);
    return !empty($info['has default argument']);
}