You are here

protected function FieldPluginBase::getFieldTokenPlaceholder in Drupal 8

Same name and namespace in other branches
  1. 9 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'] . ' }}';
}