_theme_registry_callback
function _theme_registry_callback
_theme_registry_callback($callback = NULL, array $arguments = array())
Sets the callback that will be used by theme_get_registry().
Parameters
$callback: The name of the callback function.
$arguments: The arguments to pass to the function.
File
- includes/theme.inc, line 291
- The theme system, which controls the output of Drupal.
Code
function _theme_registry_callback($callback = NULL, array $arguments = array()) { static $stored; if (isset($callback)) { $stored = array($callback, $arguments); } return $stored; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!theme.inc/function/_theme_registry_callback/7.x