protected function GTMContainer::realmKey in GoogleTagManager 7.2
Returns applicable realm name and key for the request.
Return value
string The realm name and key.
1 call to GTMContainer::realmKey()
- GTMContainer::realmContext in includes/
entity/ container.inc
File
- includes/
entity/ container.inc, line 477
Class
- GTMContainer
- Defines the container configuration entity.
Code
protected function realmKey() {
static $value;
if (!isset($value)) {
list($realm_name, $realm_key) = google_tag_realm_values();
$value = "{$realm_name}:{$realm_key}";
}
return $value;
}