You are here

public function Webform::getElementsAttachments in Webform 8.5

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

Get webform attachment elements.

Return value

array Webform attachment elements.

Overrides WebformInterface::getElementsAttachments

File

src/Entity/Webform.php, line 1313

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function getElementsAttachments() {
  $this
    ->initElements();
  return $this->elementsAttachments;
}