protected function TokenBase::content in Display Suite 8.2
Same name and namespace in other branches
- 8.4 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.
1 method overrides TokenBase::content()
- DynamicTokenField::content in src/
Plugin/ DsField/ DynamicTokenField.php - Returns the value of the code field.
File
- src/
Plugin/ DsField/ TokenBase.php, line 69
Class
- TokenBase
- The base plugin to create DS code fields.
Namespace
Drupal\ds\Plugin\DsFieldCode
protected function content() {
return '';
}