You are here

class AuthcacheP13nDefaultCoreService in Authenticated User Page Caching (Authcache) 7.2

Default implementation for drupal core services.

Hierarchy

Expanded class hierarchy of AuthcacheP13nDefaultCoreService

2 string references to 'AuthcacheP13nDefaultCoreService'
AuthcacheP13nTestRequestBuilder::testRequestResourcesNullFragments in modules/authcache_p13n/tests/authcache_p13n.request-builder.test
Cover authcache_p13n_request_resources().
authcache_p13n_authcache_p13n_base_request in modules/authcache_p13n/authcache_p13n.module
Implements hook_authcache_p13n_base_request().

File

modules/authcache_p13n/includes/AuthcacheP13nDefaultCoreService.inc, line 10
Defines the default implementation for drupal core services.

View source
class AuthcacheP13nDefaultCoreService implements AuthcacheP13nCoreServiceInterface {

  /**
   * {@inheritdoc}
   */
  public function drupalAddHttpHeader($name, $value, $append = FALSE) {
    drupal_add_http_header($name, $value, $append);
  }

  /**
   * {@inheritdoc}
   */
  public function drupalBootstrap($phase = NULL, $new_phase = TRUE) {
    return drupal_bootstrap($phase, $new_phase);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AuthcacheP13nDefaultCoreService::drupalAddHttpHeader public function Sets an HTTP response header for the current page. Overrides AuthcacheP13nCoreServiceInterface::drupalAddHttpHeader
AuthcacheP13nDefaultCoreService::drupalBootstrap public function Ensures Drupal is bootstrapped to the specified phase. Overrides AuthcacheP13nCoreServiceInterface::drupalBootstrap