protected function YamlFormLocation::getInitializedCompositeElement in YAML Form 8
Get initialized composite element.
Parameters
array &$element: A composite element.
Return value
array The initialized composite test element.
Overrides YamlFormCompositeBase::getInitializedCompositeElement
File
- src/
Plugin/ YamlFormElement/ YamlFormLocation.php, line 36
Class
- YamlFormLocation
- Provides an 'location' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
protected function getInitializedCompositeElement(array &$element) {
$form_state = new FormState();
$form_completed = [];
return YamlFormLocationElement::processYamlFormComposite($element, $form_state, $form_completed);
}