1 theme.inc _theme_registry_callback($callback = NULL, array $arguments = array())

Sets the callback that will be used by theme_get_registry().


$callback: The name of the callback function.

$arguments: The arguments to pass to the function.

Return value

array: The currently set theme registry callback and arguments.


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


function _theme_registry_callback($callback = NULL, array $arguments = array()) {
  static $stored;
  if (isset($callback)) {
    $stored = array($callback, $arguments);
  return $stored;