public function Container::snippetURI in GoogleTagManager 8
Returns the snippet URI for a snippet type.
Parameters
string $type: The snippet type.
Return value
string The snippet URI.
1 call to Container::snippetURI()
- Container::fileTag in src/
Entity/ Container.php - Returns tag array for the snippet type.
File
- src/
Entity/ Container.php, line 528
Class
- Container
- Defines the container configuration entity.
Namespace
Drupal\google_tag\EntityCode
public function snippetURI($type) {
return $this
->snippetDirectory() . "/google_tag.{$type}.js";
}