function authcache_p13n_request_get_callback in Authenticated User Page Caching (Authcache) 7.2
Return uri for the request.
Return value
string|null Either the URL for the given route_id plus arguments or null, if no such request is available.
Related topics
21 calls to authcache_p13n_request_get_callback()
- AuthcacheBlockTest::testFragemntGet in modules/
authcache_block/ authcache_block.test - Ensure that a block can be retrieved from the front controller.
- AuthcacheCommentTest::testNumberOfNewCommentsFragment in modules/
authcache_comment/ authcache_comment.test - Ensure that the number of new comments is reported accurately.
- AuthcacheFieldTest::testAuthcacheFieldFragment in modules/
authcache_field/ authcache_field.test - Ensure that fields are rendered.
- AuthcacheFieldTest::testAuthcacheFieldFragmentNoEntityAccess in modules/
authcache_field/ authcache_field.test - Ensure that fields are not rendered when user has no access to the entity.
- AuthcacheFlagTest::testAuthcacheFlagFlagFragmentNoPermission in modules/
authcache_flag/ authcache_flag.test - Ensure that flags are not rendered when user lacks flag permissions.
File
- modules/
authcache_p13n/ authcache_p13n.module, line 774 - Provides methods for serving personalized content fragments.
Code
function authcache_p13n_request_get_callback($route_id, $arg) {
$router = authcache_p13n_request_get_router();
return $router
->generateURL($route_id, $arg);
}