patch_manager.api.php in Patch manager 7
Same filename and directory in other branches
Document patch_manager API usage
File
patch_manager.api.phpView source
<?php
/**
* @file
* Document patch_manager API usage
*/
/**
* Implements hook_patch().
*/
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;
}
Functions
Name | Description |
---|---|
hook_patch | Implements hook_patch(). |