You are here

function xautoload_init in X Autoload 7.2

Same name and namespace in other branches
  1. 7.5 xautoload.module \xautoload_init()
  2. 7.3 xautoload.module \xautoload_init()
  3. 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 85

Code

function xautoload_init() {

  // If hook_custom_theme() hasn't been triggered, we call it now.
  xautoload_custom_theme();
}