function xautoload_modules_enabled in X Autoload 7.4
Same name and namespace in other branches
- 7.5 xautoload.system.inc \xautoload_modules_enabled()
- 7.2 xautoload.module \xautoload_modules_enabled()
- 7.3 xautoload.module \xautoload_modules_enabled()
Implements hook_modules_enabled()
Parameters
string[] $modules:
File
- ./
xautoload.system.inc, line 11
Code
function xautoload_modules_enabled($modules) {
xautoload()->extensionRegistrationService
->registerExtensionsByName($modules);
xautoload()->cacheManager
->renewCachePrefix();
// Trigger invocation of hook_xautoload() to catch any hooks.
$operation = new HookXautoloadOperation();
xautoload()->proxyFinder
->onFinderInit($operation);
}