You are here

function authcache_p13n_config_defaults in Authenticated User Page Caching (Authcache) 7.2

Return default value for config widget.

Related topics

8 calls to authcache_p13n_config_defaults()
AuthcacheFieldTest::setUp in modules/authcache_field/authcache_field.test
Sets up a Drupal site for running functional and integration tests.
authcache_block_page_alter in modules/authcache_block/authcache_block.module
Implements hook_page_alter().
authcache_field_field_attach_view_alter in modules/authcache_field/authcache_field.module
Implements hook_field_attach_view_alter().
authcache_p13n_process_config in modules/authcache_p13n/authcache_p13n.module
Form API process callback for config element.
authcache_panels.inc in modules/authcache_panels/plugins/cache/authcache_panels.inc
Authcache Panels cache plugin.

... See full list

File

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

Code

function authcache_p13n_config_defaults() {
  return array(
    'status' => FALSE,
    'lifespan' => 3600,
    'lifespan_custom' => NULL,
    'peruser' => 1,
    'perpage' => 0,
    'fallback' => 'cancel',
    'clients' => authcache_p13n_client_info(),
  );
}