You are here

function authcache_relation_authcache_preclude in Authenticated User Page Caching (Authcache) 7.2

Implements hook_authcache_preclude().

File

modules/authcache_relation/authcache_relation.module, line 10
Provides integration with Relation Entity Collector block

Code

function authcache_relation_authcache_preclude() {
  if (!empty($_SESSION['relation_type']) || !empty($_SESSION['relation_entity_keys'])) {
    return t('Relation entity collector block contains picked entities');
  }
}