You are here

public function YamlForm::getElementInitialized in YAML Form 8

File

src/Entity/YamlForm.php, line 935

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

public function getElementInitialized($key) {
  $elements = $this
    ->getElementsInitializedAndFlattened();
  return isset($elements[$key]) ? $elements[$key] : NULL;
}