You are here

protected function FieldPluginBase::getFieldTokenPlaceholder in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 1608
Contains \Drupal\views\Plugin\views\field\FieldPluginBase.

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

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