public function Webform::getElementsDefaultData in Webform 8.5
Same name and namespace in other branches
- 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\EntityCode
public function getElementsDefaultData() {
$this
->initElements();
return $this->elementsDefaultData;
}