You are here

authcache_relation.module in Authenticated User Page Caching (Authcache) 7.2

Provides integration with Relation Entity Collector block

File

modules/authcache_relation/authcache_relation.module
View source
<?php

/**
 * @file
 * Provides integration with Relation Entity Collector block
 */

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