_theme_build_registry

function _theme_build_registry

_theme_build_registry($theme, $base_theme, $theme_engine)

Builds the theme registry cache.

Parameters

$theme: The loaded $theme object as returned by list_themes().

$base_theme: An array of loaded $theme objects representing the ancestor themes in oldest first order.

$theme_engine: The name of the theme engine.

File

includes/theme.inc, line 678
The theme system, which controls the output of Drupal.

Code

function _theme_build_registry($theme, $base_theme, $theme_engine) {
  $cache = array();
  // First, process the th