public function ElementAttachmentInterface::attach in Colorbox 8
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\colorboxCode
public function attach(array &$element);