You are here

public function ArrayObject::getAttachments in Express 8

Gets attachments.

Return value

array The attachments.

Overrides AttachmentsInterface::getAttachments

File

themes/contrib/bootstrap/src/Utility/ArrayObject.php, line 214
Contains \Drupal\bootstrap\Utility\ArrayObject.

Class

ArrayObject
Custom ArrayObject implementation.

Namespace

Drupal\bootstrap\Utility

Code

public function getAttachments() {
  return BubbleableMetadata::createFromRenderArray($this->array)
    ->getAttachments();
}