interface ContainerManagerInterface in GoogleTagManager 7.2
Provides an interface for a Google tag container manager.
Hierarchy
- interface \ContainerManagerInterface
Expanded class hierarchy of ContainerManagerInterface
All classes that implement ContainerManagerInterface
File
- includes/
entity/ manager_interface.inc, line 6
View source
interface ContainerManagerInterface {
/**
* Prepares directory for and saves snippet files for a container.
*
* @param GTMContainer $container
* The container configuration entity.
*
* @return bool
* Whether the files were saved.
*/
public function createAssets($container);
/**
* Saves JS snippet files based on current settings.
*
* @param GTMContainer $container
* The container configuration entity.
*
* @return bool
* Whether the files were saved.
*/
public function saveSnippets($container);
/**
* Adds render array items of page attachments.
*
* @param array $page
* The page render array.
*/
public function getScriptAttachments(array &$page);
/**
* Adds render array items of page top attachments.
*
* @param array $page
* The page render array.
*/
public function getNoScriptAttachments(array &$page);
/**
* Prepares directory for and saves snippet files for all containers.
*
* @return bool
* Whether the files were saved.
*/
public function createAllAssets();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerManagerInterface:: |
public | function | Prepares directory for and saves snippet files for all containers. | 1 |
ContainerManagerInterface:: |
public | function | Prepares directory for and saves snippet files for a container. | 1 |
ContainerManagerInterface:: |
public | function | Adds render array items of page top attachments. | 1 |
ContainerManagerInterface:: |
public | function | Adds render array items of page attachments. | 1 |
ContainerManagerInterface:: |
public | function | Saves JS snippet files based on current settings. | 1 |