public function Webform::getElementsInitialized in Webform 8.5
Same name and namespace in other branches
- 6.x 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 1273
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function getElementsInitialized() {
$this
->initElements();
return $this->elementsInitialized;
}