You are here

function authcache_block_config_submit in Authenticated User Page Caching (Authcache) 7.2

Block submit handler.

1 string reference to 'authcache_block_config_submit'
authcache_block_form_block_admin_configure_alter in modules/authcache_block/authcache_block.module
Implements hook_form_alter().

File

modules/authcache_block/authcache_block.module, line 92
Authcache support for block module.

Code

function authcache_block_config_submit($form, &$form_state) {
  $module = $form_state['values']['module'];
  $delta = $form_state['values']['delta'];
  $block_id = "{$module}-{$delta}";
  variable_set('authcache_block-' . $block_id, $form_state['values']['authcache_settings']);

  // Clear external caches.
  authcache_p13n_session_invalidate();

  // Rebuild registry of personalization requests.
  authcache_p13n_request_router_rebuild();
}