1 theme.inc backdrop_theme_rebuild()

Forces the system to rebuild the theme registry.

This function should be called when modules are added to the system, or when a dynamic system needs to add more theme hooks.

File

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

Code

function backdrop_theme_rebuild() {
  backdrop_static_reset('theme_get_registry');
  cache()->deletePrefix('theme_registry');
}