function views_handler_argument::has_default_argument

Same name in other branches
  1. 6.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 828

Class

views_handler_argument
Base class for arguments.

Code

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