You are here

public function Webform::getElementsInitialized in Webform 6.x

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

Get webform elements initialized as an associative array.

Return value

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

Overrides WebformInterface::getElementsInitialized

2 calls to Webform::getElementsInitialized()
Webform::buildPages in src/Entity/Webform.php
Build and cache a webform's wizard pages based on the current operation.
Webform::getElement in src/Entity/Webform.php
Get a webform's initialized element.

File

src/Entity/Webform.php, line 1274

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function getElementsInitialized() {
  $this
    ->initElements();
  return $this->elementsInitialized;
}