You are here

function domain_disabling in Domain Access 5

Simple function to make sure we don't respond with grants when disabling ourselves.

2 calls to domain_disabling()
domain_disable in ./domain.module
Implement hook_disable()
domain_node_access_records in ./domain.module
Implement hook_node_access_records()

File

./domain.module, line 1025
Core module functions for the Domain Access suite.

Code

function domain_disabling($set = NULL) {
  static $disabling = FALSE;
  if ($set !== NULL) {
    $disabling = $set;
  }
  return $disabling;
}