function 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 1055
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.