function coder_upgrade_upgrade_end_alter in Coder 7
Same name and namespace in other branches
- 7.2 coder_upgrade/conversions/end.inc \coder_upgrade_upgrade_end_alter()
Implements hook_upgrade_end_alter().
Processes the directory after upgrade routines are applied to the files.
Parameters
string $dirname: The name of the directory with the converted files.
File
- coder_upgrade/
conversions/ end.inc, line 23 - Provides conversion routines applied to the directory after routines are applied to the files.
Code
function coder_upgrade_upgrade_end_alter($dirname) {
global $_coder_upgrade_dirname, $_coder_upgrade_class_files;
if (empty($_coder_upgrade_class_files)) {
return;
}
$_coder_upgrade_dirname = $dirname;
// Get list of files.
$files = coder_upgrade_scan_directory_2($dirname, 'files');
// In 6.x, add one hook_theme registry entry in each module.
// In 7.x, add files entries to each .info file.
coder_upgrade_add_file_entries($dirname, $files);
}