You are here

protected function FieldPluginBase::getFieldTokenPlaceholder in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\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 1652

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

protected function getFieldTokenPlaceholder() {
  return '{{ ' . $this->options['id'] . ' }}';
}