AttachmentsInterface::addAttachments

public AttachmentsInterface::addAttachments(array $attachments)

Adds attachments.

Parameters

array $attachments: The attachments to add.

Return value

$this

File

core/lib/Drupal/Core/Render/AttachmentsInterface.php, line 32

Class

AttachmentsInterface
Defines an interface for responses that can expose #attached metadata.

Namespace

Drupal\Core\Render

Code

public function addAttachments(array $attachments);
doc_Drupal
2016-10-29 08:44:59
Comments
Leave a Comment

Please login to continue.