You are here

authcache_builtin_test.module in Authenticated User Page Caching (Authcache) 7.2

Stub module for Authcache Builtin Storage Backend test.

File

modules/authcache_builtin/tests/authcache_builtin_test.module
View source
<?php

/**
 * @file
 * Stub module for Authcache Builtin Storage Backend test.
 */

/**
 * Implements hook_authcache_preclude().
 */
function authcache_builtin_test_authcache_preclude() {
  return HookStub::record(__FUNCTION__, func_get_args());
}

/**
 * Implements hook_exit().
 */
function authcache_builtin_test_exit() {
  drupal_add_http_header('X-Authcache-Builtin-Test-Key', authcache_key());
}