public function ContainerManagerInterface::getScriptAttachments in GoogleTagManager 8
Adds render array items of page attachments.
Parameters
array $attachments: The attachments render array.
1 method overrides ContainerManagerInterface::getScriptAttachments()
- ContainerManager::getScriptAttachments in src/
Entity/ ContainerManager.php - Adds render array items of page attachments.
File
- src/
Entity/ ContainerManagerInterface.php, line 66
Class
- ContainerManagerInterface
- Provides an interface for a Google tag container manager.
Namespace
Drupal\google_tag\EntityCode
public function getScriptAttachments(array &$attachments);