1.20.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.

File

includes/theme.inc, line 426
The theme system, which controls the output of Backdrop.

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);
}