You are here

function authcache_p13n_request_router_rebuild in Authenticated User Page Caching (Authcache) 7.2

Rebuild the router of personalization request handlers.

Related topics

20 calls to authcache_p13n_request_router_rebuild()
AuthcacheFieldTest::setUp in modules/authcache_field/authcache_field.test
Sets up a Drupal site for running functional and integration tests.
AuthcacheFlagTest::saveFlag in modules/authcache_flag/authcache_flag.test
Save a flag to the database, clear caches, rebuild router.
AuthcacheP13nTestDefaultRequestRouter::setUp in modules/authcache_p13n/tests/authcache_p13n.frontcontroller.test
Sets up a Drupal site for running functional and integration tests.
AuthcacheP13nTestDefaultRequestRouter::testLookup in modules/authcache_p13n/tests/authcache_p13n.frontcontroller.test
Test whether the frontcontroller responds correctly to a valid request.
AuthcacheP13nTestDefaultRequestRouter::testRebuild in modules/authcache_p13n/tests/authcache_p13n.frontcontroller.test
Cover AuthcacheP13nDefaultRequestRouter::rebuild().

... See full list

2 string references to 'authcache_p13n_request_router_rebuild'
authcache_flag_form_flag_form_alter in modules/authcache_flag/authcache_flag.module
Implements hook_form_FORM_ID_alter().
authcache_views_form_views_ui_edit_form_alter in modules/authcache_views/authcache_views.module
Implements hook_form_FORM_ID_alter().

File

modules/authcache_p13n/authcache_p13n.module, line 1178
Provides methods for serving personalized content fragments.

Code

function authcache_p13n_request_router_rebuild() {
  $router = authcache_p13n_request_get_router();
  $router
    ->rebuild();
  drupal_static_reset('authcache_p13n_request_exists');
}