You are here

public function Webform::getElementsPrepopulate in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 1425

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

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