You are here

protected function ExtraFieldTokenPlugin::getTokenTextType in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/ExtraFieldType/ExtraFieldTokenPlugin.php \Drupal\entity_extra_field\Plugin\ExtraFieldType\ExtraFieldTokenPlugin::getTokenTextType()

Get token text type.

Return value

string The token text type.

1 call to ExtraFieldTokenPlugin::getTokenTextType()
ExtraFieldTokenPlugin::build in src/Plugin/ExtraFieldType/ExtraFieldTokenPlugin.php
Build the render array of the extra field type contents.

File

src/Plugin/ExtraFieldType/ExtraFieldTokenPlugin.php, line 118

Class

ExtraFieldTokenPlugin
Define extra field token plugin.

Namespace

Drupal\entity_extra_field\Plugin\ExtraFieldType

Code

protected function getTokenTextType() {
  $configuration = $this
    ->getConfiguration();
  return $configuration['type'];
}