You are here

function xautoload_custom_theme in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 xautoload.module \xautoload_custom_theme()
  2. 7.2 xautoload.module \xautoload_custom_theme()
  3. 7.3 xautoload.module \xautoload_custom_theme()

Implements hook_custom_theme() We only do this because that's the first hook to fire after bootstrap.

1 call to xautoload_custom_theme()
xautoload_init in ./xautoload.module
Implements hook_init()

File

./xautoload.module, line 34

Code

function xautoload_custom_theme() {

  // Make sure this only runs once.
  // (we run this from hook_init also, to avoid upgrade issues)
  static $first_run = TRUE;
  if (!$first_run) {
    return;
  }
  $first_run = FALSE;

  // Trigger invocation of hook_xautoload().
  $operation = new HookXautoloadOperation();
  xautoload()->proxyFinder
    ->onFinderInit($operation);
}