public function Element::configurationForm in Form Builder 7.2
Same name in this branch
- 7.2 examples/src/Element.php \Drupal\form_builder_examples\Element::configurationForm()
- 7.2 modules/webform/src/Element.php \Drupal\form_builder_webform\Element::configurationForm()
Get the configuration form for this element.
Overrides ElementInterface::configurationForm
1 call to Element::configurationForm()
- HiddenElement::configurationForm in modules/
webform/ src/ HiddenElement.php - Get the configuration form for this element.
1 method overrides Element::configurationForm()
- HiddenElement::configurationForm in modules/
webform/ src/ HiddenElement.php - Get the configuration form for this element.
File
- modules/
webform/ src/ Element.php, line 77
Class
Namespace
Drupal\form_builder_webformCode
public function configurationForm($form, &$form_state) {
form_load_include($form_state, 'properties.inc', 'form_builder_webform');
$component = $this->element['#webform_component'];
$edit = $this
->componentEditForm($component);
foreach ($this
->getProperties() as $property) {
$form = array_merge($form, $property
->form($component, $edit, $form_state));
}
return $form;
}