You are here

public function GTMContainer::snippetURI in GoogleTagManager 7.2

Returns the snippet URI for a snippet type.

Parameters

string $type: The snippet type.

Return value

string The snippet URI.

3 calls to GTMContainer::snippetURI()
GTMContainer::fileTag in includes/entity/container.inc
Returns tag array for the snippet type.
GTMContainer::inlineTag in includes/entity/container.inc
Returns tag array for the snippet type.
GTMContainer::noscriptTag in includes/entity/container.inc
Returns tag array for the snippet type.

File

includes/entity/container.inc, line 519

Class

GTMContainer
Defines the container configuration entity.

Code

public function snippetURI($type) {
  return $this
    ->snippetDirectory() . "/google_tag.{$type}.js";
}