You are here

function content_access_disabling in Content Access 8

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

Remembers if we have disabled access.

3 calls to content_access_disabling()
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().
content_access_uninstall in ./content_access.install
Implements hook_uninstall().

File

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

Code

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