You are here

protected function GTMContainer::statusContext in GoogleTagManager 7.2

File

includes/entity/container.inc, line 436

Class

GTMContainer
Defines the container configuration entity.

Code

protected function statusContext($statuses) {

  // Get the HTTP response status.
  $status = drupal_get_http_header('status');
  return $status && strpos($statuses, (string) $status) !== FALSE;
}