Same name and namespace in other branches
  1. 8.x-1.x src/ElementAttachmentInterface.php \Drupal\colorbox\ElementAttachmentInterface::attach() 1 comment

Attach information to the page array.

Parameters

array $element: The page array.

1 method overrides ElementAttachmentInterface::attach()
ColorboxAttachment::attach in src/ColorboxAttachment.php
Attach information to the page array.

File

src/ElementAttachmentInterface.php, line 16

Class

ElementAttachmentInterface
An interface for attaching things to the built page.

Namespace

Drupal\colorbox

Code

public function attach(array &$element);