You are here

public function WebformInterface::getElementsInitializedAndFlattened in Webform 8.5

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

Get webform elements initialized and flattened into an associative array.

Parameters

string $operation: (optional) The operation that is to be performed on the element.

Return value

array Webform elements flattened into an associative array keyed by element key. Returns FALSE if elements YAML is invalid.

1 method overrides WebformInterface::getElementsInitializedAndFlattened()
Webform::getElementsInitializedAndFlattened in src/Entity/Webform.php
Get webform elements initialized and flattened into an associative array.

File

src/WebformInterface.php, line 748

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function getElementsInitializedAndFlattened($operation = NULL);