Determine if the argument is set to provide a default argument.
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 736
- Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.
Class
- ArgumentPluginBase
- Base class for arguments.
Namespace
Drupal\views\Plugin\views\argument
Code
function hasDefaultArgument() {
$info = $this
->defaultActions($this->options['default_action']);
return !empty($info['has default argument']);
}