Get a default argument, if available.
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 740
- Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.
Class
- ArgumentPluginBase
- Base class for arguments.
Namespace
Drupal\views\Plugin\views\argument
Code
function get_default_argument() {
$plugin = $this
->get_plugin('argument_default');
if ($plugin) {
return $plugin
->get_argument();
}
}