You are here

public function Element::configurationForm in Form Builder 7.2

Same name in this branch
  1. 7.2 examples/src/Element.php \Drupal\form_builder_examples\Element::configurationForm()
  2. 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

Element

Namespace

Drupal\form_builder_webform

Code

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;
}