function FieldPluginBase::getFieldTokenPlaceholder
Returns a token placeholder for the current field.
Return value
string A token placeholder.
File
-
core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php, line 1697
Class
- FieldPluginBase
- Base class for views fields.
Namespace
Drupal\views\Plugin\views\fieldCode
protected function getFieldTokenPlaceholder() {
return '{{ ' . $this->options['id'] . ' }}';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.