You are here

public function Webform::getElementsPrepopulate in Webform 8.5

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

Get webform elements that can be prepopulated.

Return value

array Webform elements that can be prepopulated.

Overrides WebformInterface::getElementsPrepopulate

File

src/Entity/Webform.php, line 1424

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function getElementsPrepopulate() {
  $this
    ->initElements();
  return $this->elementsPrepopulate;
}