You are here

public function YamlForm::getElementsDecoded in YAML Form 8

Get form elements decoded as an associative array.

Return value

array|bool Elements as an associative array. Returns FALSE is elements YAML is invalid.

Overrides YamlFormInterface::getElementsDecoded

2 calls to YamlForm::getElementsDecoded()
YamlForm::deleteElement in src/Entity/YamlForm.php
Remove an element.
YamlForm::setElementProperties in src/Entity/YamlForm.php
Set element properties.

File

src/Entity/YamlForm.php, line 690

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

public function getElementsDecoded() {
  $this
    ->initElements();
  return $this->elementsDecoded;
}