public function Webform::getElementsDecodedAndFlattened in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::getElementsDecodedAndFlattened()
Get webform raw elements decoded and flattened into an associative array.
Parameters
string $operation: (optional) The operation that is to be performed on the element.
Return value
array Webform raw elements decoded and flattened into an associative array keyed by element key. Returns FALSE if elements YAML is invalid.
Overrides WebformInterface::getElementsDecodedAndFlattened
1 call to Webform::getElementsDecodedAndFlattened()
- Webform::getElementDecoded in src/
Entity/ Webform.php - Get a webform's raw (uninitialized) element.
File
- src/
Entity/ Webform.php, line 1289
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function getElementsDecodedAndFlattened($operation = NULL) {
$this
->initElements();
return $this
->checkElementsFlattenedAccess($operation, $this->elementsDecodedAndFlattened);
}