Exemplo n.º 1
0
 /**
  * Enter the main phase of the request, where all module files are included.
  */
 public function enterMainPhase()
 {
     // @todo Don't use moduleImplements(), to prevent hook_module_implements_alter()
     $modules = $this->system->moduleImplements('xautoload');
     // @todo Remove boot modules from the list.
     $this->runHookXautoload($modules);
 }
Exemplo n.º 2
0
 /**
  * React to xautoload_modules_enabled()
  *
  * @param string[] $modules
  *   New module names.
  */
 public function modulesEnabled($modules)
 {
     $modules = $this->system->moduleImplements('xautoload');
     $this->runHookXautoload($modules);
 }