public function Container::snippetDirectory in GoogleTagManager 8
Returns the snippet directory path.
Return value
string The snippet directory path.
1 call to Container::snippetDirectory()
- Container::snippetURI in src/
Entity/ Container.php - Returns the snippet URI for a snippet type.
File
- src/
Entity/ Container.php, line 515
Class
- Container
- Defines the container configuration entity.
Namespace
Drupal\google_tag\EntityCode
public function snippetDirectory() {
return \Drupal::config('google_tag.settings')
->get('uri') . "/google_tag/{$this->id()}";
}