public function DsFieldTemplateInterface::alterForm in Display Suite 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/DsFieldTemplate/DsFieldTemplateInterface.php \Drupal\ds\Plugin\DsFieldTemplate\DsFieldTemplateInterface::alterForm()
- 8.2 src/Plugin/DsFieldTemplate/DsFieldTemplateInterface.php \Drupal\ds\Plugin\DsFieldTemplate\DsFieldTemplateInterface::alterForm()
Lets you add you add additional form element for your layout.
Parameters
array $form: Nested array of form elements that comprise the form.
1 method overrides DsFieldTemplateInterface::alterForm()
- DsFieldTemplateBase::alterForm in src/
Plugin/ DsFieldTemplate/ DsFieldTemplateBase.php - Lets you add you add additional form element for your layout.
File
- src/
Plugin/ DsFieldTemplate/ DsFieldTemplateInterface.php, line 18
Class
- DsFieldTemplateInterface
- Defines a common interface for all ds field template plugins.
Namespace
Drupal\ds\Plugin\DsFieldTemplateCode
public function alterForm(&$form);