function nodeaccess_disabling in Nodeaccess 7
Same name and namespace in other branches
- 5 nodeaccess.module \nodeaccess_disabling()
- 6.2 nodeaccess.module \nodeaccess_disabling()
- 6 nodeaccess.module \nodeaccess_disabling()
Mark module to be in process of disabling.
Prevents entries being saved to node_access while module is being disabled.
Parameters
mixed $set: A boolean set or NULL to not change status.
Return value
bool
2 calls to nodeaccess_disabling()
- nodeaccess_disable in ./
nodeaccess.install - Implements hook_disable().
- nodeaccess_node_access_records in ./
nodeaccess.module - Implements hook_node_access_records().
File
- ./
nodeaccess.module, line 742 - Provide per node access control
Code
function nodeaccess_disabling($set = NULL) {
static $disabling = FALSE;
if ($set !== NULL) {
$disabling = $set;
}
return $disabling;
}