You are here

function content_access_disabling in Content Access 7

Same name and namespace in other branches
  1. 8 content_access.module \content_access_disabling()
  2. 5 content_access.module \content_access_disabling()
  3. 6 content_access.module \content_access_disabling()

Remembers if we have disabled access.

3 calls to content_access_disabling()
content_access_disable in ./content_access.module
Implements hook_disable().
content_access_enabled in ./content_access.module
Used by the ACL module.
content_access_node_access_records in ./content_access.module
Implements hook_node_access_records().

File

./content_access.module, line 210
Content access module file.

Code

function content_access_disabling($set = NULL) {
  static $disabling = FALSE;
  if (isset($set)) {
    $disabling = $set;
  }
  return $disabling;
}