function authcache_test_redirect_location in Authenticated User Page Caching (Authcache) 7.2
Redirect.
1 string reference to 'authcache_test_redirect_location'
- authcache_test_menu in tests/
authcache_test.module - Implements hook_menu().
File
- tests/
authcache_test.module, line 245 - Mock module to aid in testing authcache.module.
Code
function authcache_test_redirect_location() {
// Redirect to a page which is not cached.
drupal_add_http_header('Content-Type', 'text/html');
header('Location: ' . url('user', array(
'absolute' => TRUE,
)));
drupal_exit();
}