public function YamlForm::getElementsInitializedAndFlattened in YAML Form 8
Get form elements initialized and flattened into an associative array.
Return value
array Form elements flattened into an associative array keyed by element name. Returns FALSE is elements YAML is invalid.
Overrides YamlFormInterface::getElementsInitializedAndFlattened
4 calls to YamlForm::getElementsInitializedAndFlattened()
- YamlForm::getElement in src/
Entity/ YamlForm.php - Get a form's initialized element.
- YamlForm::getElementInitialized in src/
Entity/ YamlForm.php - YamlForm::getElementsSelectorOptions in src/
Entity/ YamlForm.php - Get form elements selectors as options.
- YamlForm::invokeElements in src/
Entity/ YamlForm.php - Invoke elements method.
File
- src/
Entity/ YamlForm.php, line 706
Class
- YamlForm
- Defines the form entity.
Namespace
Drupal\yamlform\EntityCode
public function getElementsInitializedAndFlattened() {
$this
->initElements();
return $this->elementsInitializedAndFlattened;
}