You are here

protected function TokenBase::format in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/DsField/TokenBase.php \Drupal\ds\Plugin\DsField\TokenBase::format()
  2. 8.3 src/Plugin/DsField/TokenBase.php \Drupal\ds\Plugin\DsField\TokenBase::format()

Returns the format of the code field.

1 call to TokenBase::format()
TokenBase::build in src/Plugin/DsField/TokenBase.php
Renders a field.
1 method overrides TokenBase::format()
DynamicTokenField::format in src/Plugin/DsField/DynamicTokenField.php
Returns the format of the code field.

File

src/Plugin/DsField/TokenBase.php, line 79

Class

TokenBase
The base plugin to create DS code fields.

Namespace

Drupal\ds\Plugin\DsField

Code

protected function format() {
  return 'plain_text';
}