1 views_handler_argument.inc views_handler_argument::has_default_argument()

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

File

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

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