function coder_upgrade_upgrade_begin_alter in Coder 7.2
Same name and namespace in other branches
- 7 coder_upgrade/conversions/begin.inc \coder_upgrade_upgrade_begin_alter()
Implements hook_upgrade_begin_alter().
Parameters
array $item: Array of a directory containing the files to convert.
1 call to coder_upgrade_upgrade_begin_alter()
- CoderUpgradeUnitTestCase::captureThemeInfo in coder_upgrade/
coder_upgrade.test - Stores the theme registry for core modules and the modules being upgraded.
File
- coder_upgrade/
conversions/ begin.inc, line 21 - Provides conversion routines applied to the directory before routines are applied to the files.
Code
function coder_upgrade_upgrade_begin_alter($item) {
// cdp("inside " . __FUNCTION__);
global $_coder_upgrade_menu_registry;
if (!$_coder_upgrade_menu_registry) {
$_coder_upgrade_menu_registry = array();
}
// TODO Automatically refresh the theme cache if core upgrades are being run?
coder_upgrade_cache_theme_registry();
coder_upgrade_cache_info_hooks($item);
}