function workflow_access_disabling in Workflow 5
Same name and namespace in other branches
- 5.2 workflow_access.module \workflow_access_disabling()
Make sure we don't respond with grants when disabling ourselves.
2 calls to workflow_access_disabling()
- workflow_access_disable in ./
workflow_access.module - Implementation of hook_disable().
- workflow_access_node_access_records in ./
workflow_access.module - Implementation of hook_node_access_records().
File
- ./
workflow_access.module, line 31 - Provides node access permissions based on workflow states.
Code
function workflow_access_disabling($value = NULL) {
static $disabling = FALSE;
if (isset($value)) {
$disabling = $value;
}
return $disabling;
}