You are here

function xautoload_custom_theme in X Autoload 7.3

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.4 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 27

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;

  // Tell the "boot schedule" that the "main phase" has started.
  // This will trigger invocation of hook_xautoload().
  xautoload('schedule')
    ->initMainPhase();
}