protected function TokenBase::format in Display Suite 8.2
Same name and namespace in other branches
- 8.4 src/Plugin/DsField/TokenBase.php \Drupal\ds\Plugin\DsField\TokenBase::format()
- 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 62
Class
- TokenBase
- The base plugin to create DS code fields.
Namespace
Drupal\ds\Plugin\DsFieldCode
protected function format() {
return 'plain_text';
}