You are here

function domain_enabling in Domain Access 5

Writes the default grants when the module is first enabled.

1 call to domain_enabling()
domain_enable in ./domain.module
Upon enabling this module, store the default view grant in the {node_access} table.

File

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

Code

function domain_enabling($set = NULL) {
  static $enabling = FALSE;
  if ($set !== NULL) {
    $enabling = $set;
  }
  return $enabling;
}