protected function TokenBase::content in Display Suite 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/DsField/TokenBase.php \Drupal\ds\Plugin\DsField\TokenBase::content()
- 8.3 src/Plugin/DsField/TokenBase.php \Drupal\ds\Plugin\DsField\TokenBase::content()
Returns the value of the code field.
1 call to TokenBase::content()
- TokenBase::build in src/
Plugin/ DsField/ TokenBase.php - Renders a field.
2 methods override TokenBase::content()
- DynamicTokenField::content in src/
Plugin/ DsField/ DynamicTokenField.php - Returns the value of the code field.
- DynamicTwigField::content in src/
Plugin/ DsField/ DynamicTwigField.php - Returns the value of the code field.
File
- src/
Plugin/ DsField/ TokenBase.php, line 86
Class
- TokenBase
- The base plugin to create DS code fields.
Namespace
Drupal\ds\Plugin\DsFieldCode
protected function content() {
return '';
}