You are here

public function Webform::getElementInitialized in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::getElementInitialized()

File

src/Entity/Webform.php, line 1850

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

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