function hook_patch in Patch manager 6
Same name and namespace in other branches
- 7 patch_manager.api.php \hook_patch()
Implementation of hook_patch().
1 invocation of hook_patch()
- patch_manager_list_patches in ./
patch_manager.module - Get the list of patches.
File
- ./
patch_manager.api.php, line 10 - Document patch_manager API usage
Code
function hook_patch() {
$patches = array();
$patches[] = array(
'title' => t('Allows mailsystem to be hooked'),
'patch' => '112311_core_mailsystem_hook.patch',
'module' => 'core',
);
$patches[] = array(
'title' => t('Allows cool things'),
'patch' => '123112_core_mailsystem_hook.patch',
'module' => 'smtp',
'issue' => '6574564/2',
'description' => t('Patches core to allow the cool things to be hooked.'),
'patchdir' => 'patches',
);
return $patches;
}