You are here

function hook_authcache_p13n_fragment_alter in Authenticated User Page Caching (Authcache) 7.2

Alter markup fragment definitions.

See also

hook_authcache_p13n_fragment()

1 function implements hook_authcache_p13n_fragment_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

authcache_p13n_test_authcache_p13n_fragment_alter in modules/authcache_p13n/tests/authcache_p13n_test.module
Implements hook_authcache_p13n_fragment_alter().
1 invocation of hook_authcache_p13n_fragment_alter()
authcache_p13n_fragment_info in modules/authcache_p13n/authcache_p13n.module
Return information about fragments implemented by other modules.

File

modules/authcache_p13n/authcache_p13n.api.php, line 53
Documentation for hooks provided by the authcache personalization module.

Code

function hook_authcache_p13n_fragment_alter(&$info) {

  // Extend the maximal age for the form-token fragment to one week.
  $info['form-token']['cache maxage'] = 604800;
}