function ThemeRegistry::initializeRegistry

7.x theme.inc ThemeRegistry::initializeRegistry()

Initializes the full theme registry.

Return value

An array with the keys of the full theme registry, but the values initialized to NULL.

2 calls to ThemeRegistry::initializeRegistry()
ThemeRegistry::set in drupal-7.x/includes/theme.inc
Writes a value to the persistent cache immediately.
ThemeRegistry::__construct in drupal-7.x/includes/theme.inc
Constructs a DrupalCacheArray object.

File

drupal-7.x/includes/theme.inc, line 410
The theme system, which controls the output of Drupal.

Class

ThemeRegistry
Builds the run-time theme registry.

Code

function initializeRegistry() {
  $this->completeRegistry = theme_get_registry();

  return array_fill_keys(array_keys($this->completeRegistry), NULL);
}