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