public function GTMContainer::snippetDirectory in GoogleTagManager 7.2
Returns the snippet directory path.
Return value
string The snippet directory path.
1 call to GTMContainer::snippetDirectory()
- GTMContainer::snippetURI in includes/
entity/ container.inc - Returns the snippet URI for a snippet type.
File
- includes/
entity/ container.inc, line 506
Class
- GTMContainer
- Defines the container configuration entity.
Code
public function snippetDirectory() {
return \GTMSettings::getInstance()
->get('uri') . "/google_tag/{$this->id()}";
}