You are here

public function Webform::getElementsDefaultData in Webform 8.5

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

Get webform elements default data.

Return value

array Webform elements default data.

Overrides WebformInterface::getElementsDefaultData

File

src/Entity/Webform.php, line 1432

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function getElementsDefaultData() {
  $this
    ->initElements();
  return $this->elementsDefaultData;
}