function patchinfo_theme_registry_alter in PatchInfo 7
Same name and namespace in other branches
- 8.2 patchinfo.module \patchinfo_theme_registry_alter()
- 8 patchinfo.module \patchinfo_theme_registry_alter()
Implements hook_theme_registry_alter().
File
- ./patchinfo.module, line 260 
- Patch Info primary module file.
Code
function patchinfo_theme_registry_alter(&$theme_registry) {
  // Replace theme function for update report with our own function,
  // so that we can alter it.
  if (isset($theme_registry['update_report'])) {
    $theme_registry['update_report']['function'] = 'patchinfo_update_report';
  }
}