You are here

protected function YamlForm::resetElements in YAML Form 8

Reset parsed and cached form elements.

2 calls to YamlForm::resetElements()
YamlForm::postSave in src/Entity/YamlForm.php
Acts on a saved entity before the insert or update hook is invoked.
YamlForm::setElements in src/Entity/YamlForm.php
Sets elements (YAML) value.

File

src/Entity/YamlForm.php, line 807

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

protected function resetElements() {
  $this->elementsDecoded = NULL;
  $this->elementsInitialized = NULL;
  $this->elementsDecodedAndFlattened = NULL;
  $this->elementsInitializedAndFlattened = NULL;
  $this->elementsFlattenedAndHasValue = NULL;
  $this->elementsTranslations = NULL;
}