function ArgumentPluginBase::has_default_argument in Views (for Drupal 7) 8.3
Determine if the argument is set to provide a default argument.
File
- lib/
Drupal/ views/ Plugin/ views/ argument/ ArgumentPluginBase.php, line 732 - Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.
Class
- ArgumentPluginBase
- Base class for arguments.
Namespace
Drupal\views\Plugin\views\argumentCode
function has_default_argument() {
$info = $this
->default_actions($this->options['default_action']);
return !empty($info['has default argument']);
}