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