You are here

function domain_bootstrap_register in Domain Access 7.3

Same name and namespace in other branches
  1. 6.2 domain.module \domain_bootstrap_register()
  2. 7.2 domain.module \domain_bootstrap_register()

Register the modules needed to load during bootstrap.

Stores results in the 'domain_bootstrap_modules' variable.

3 calls to domain_bootstrap_register()
domain_domain_install in ./domain.module
Implements hook_domain_install().
domain_modules_disabled in ./domain.module
Implements hook_modules_disabled().
domain_modules_enabled in ./domain.module
Implements hook_modules_enabled().

File

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

Code

function domain_bootstrap_register() {
  $modules = array();
  $lookup = module_implements('domain_bootstrap_lookup');
  $full = module_implements('domain_bootstrap_full');
  $modules = array_merge($lookup, $full);
  variable_set('domain_bootstrap_modules', $modules);
}