function views_handler_argument::has_default_argument

3.x views_handler_argument.inc views_handler_argument::has_default_argument()
2.x 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 435

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']);
}