You are here

function taxonomy_access_disabling in Taxonomy Access Control 5

Same name and namespace in other branches
  1. 5.2 taxonomy_access.module \taxonomy_access_disabling()

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

2 calls to taxonomy_access_disabling()
taxonomy_access_disable in ./taxonomy_access.module
Implementation of hook_disable().
taxonomy_access_node_access_records in ./taxonomy_access.module
Implementation of hook_node_access_records().

File

./taxonomy_access.module, line 93
Allows administrators to specify how each category (in the taxonomy) can be used by various roles.

Code

function taxonomy_access_disabling($set = NULL) {
  static $disabling = false;
  if ($set !== NULL) {
    $disabling = $set;
  }
  return $disabling;
}