function xautoload_init in X Autoload 7.5
Same name and namespace in other branches
- 7.2 xautoload.module \xautoload_init()
- 7.3 xautoload.module \xautoload_init()
- 7.4 xautoload.module \xautoload_init()
Implements hook_init()
Note: This is a first step to allow modules to register foreign namespaces. We will probably change this, to allow bootstrap modules to register their namespaces earlier in the request. We might also find a solution to cache the result of this hook between requests. This would require a different implementation of the InjectedAPI, which would no longer have a direct reference to the finder object.
File
- ./
xautoload.module, line 51
Code
function xautoload_init() {
xautoload()->phaseControl
->enterMainPhase();
}