function ArgumentPluginBase::get_default_argument in Views (for Drupal 7) 8.3
Get a default argument, if available.
1 call to ArgumentPluginBase::get_default_argument()
- Date::get_default_argument in lib/
Drupal/ views/ Plugin/ views/ argument/ Date.php - Set the empty argument value to the current date, formatted appropriately for this argument.
1 method overrides ArgumentPluginBase::get_default_argument()
- Date::get_default_argument in lib/
Drupal/ views/ Plugin/ views/ argument/ Date.php - Set the empty argument value to the current date, formatted appropriately for this argument.
File
- 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\argumentCode
function get_default_argument() {
$plugin = $this
->get_plugin('argument_default');
if ($plugin) {
return $plugin
->get_argument();
}
}