public function TwigFieldForm::getProperties in Display Suite 8.4
Same name and namespace in other branches
- 8.3 src/Form/TwigFieldForm.php \Drupal\ds\Form\TwigFieldForm::getProperties()
Returns the properties for the custom field.
Overrides FieldFormBase::getProperties
File
- src/
Form/ TwigFieldForm.php, line 45
Class
- TwigFieldForm
- Configures token fields.
Namespace
Drupal\ds\FormCode
public function getProperties(FormStateInterface $form_state) {
return [
'content' => $form_state
->getValue('content'),
];
}