You are here

public function YamlForm::getElementsDecodedAndFlattened in YAML Form 8

Get form raw elements decoded and flattened into an associative array.

Return value

array Form raw elements decoded and flattened into an associative array keyed by element name. Returns FALSE is elements YAML is invalid.

Overrides YamlFormInterface::getElementsDecodedAndFlattened

1 call to YamlForm::getElementsDecodedAndFlattened()
YamlForm::getElementDecoded in src/Entity/YamlForm.php
Get a form's raw (uninitialized) element.

File

src/Entity/YamlForm.php, line 714

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

public function getElementsDecodedAndFlattened() {
  $this
    ->initElements();
  return $this->elementsDecodedAndFlattened;
}