function 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/core/lib/Drupal/Core/Utility/ThemeRegistry.php
Overrides CacheArray::set().
ThemeRegistry::__construct in drupal/core/lib/Drupal/Core/Utility/ThemeRegistry.php
Constructs a ThemeRegistry object.

File

drupal/core/lib/Drupal/Core/Utility/ThemeRegistry.php, line 76
Definition of Drupal\Core\Utility\ThemeRegistry

Class

ThemeRegistry
Builds the run-time theme registry.

Namespace

Drupal\Core\Utility

Code

function initializeRegistry() {
  $this->completeRegistry = theme_get_registry();
  return array_fill_keys(array_keys($this->completeRegistry), NULL);
}