_theme_set_registry

Definition

_theme_set_registry($registry = NULL)
includes/theme.inc, line 212

Description

Store the theme registry in memory.

Parameters

$registry A registry array as returned by _theme_build_registry()

Return value

The theme registry array stored in memory

Code

<?php
function _theme_set_registry($registry = NULL) {
  static $theme_registry = NULL;

  if (isset($registry)) {
    $theme_registry = $registry;
  }

  return $theme_registry;
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.