public function DisplayPluginBase::getArgumentsTokens in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getArgumentsTokens()
Returns to tokens for arguments.
This function is similar to views_handler_field::getRenderTokens() but without fields tokens.
Overrides DisplayPluginInterface::getArgumentsTokens
1 call to DisplayPluginBase::getArgumentsTokens()
- DisplayPluginBase::getMoreUrl in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Get the more URL for this view.
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php, line 1048
Class
- DisplayPluginBase
- Base class for views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function getArgumentsTokens() {
$tokens = [];
if (!empty($this->view->build_info['substitutions'])) {
$tokens = $this->view->build_info['substitutions'];
}
return $tokens;
}