You are here

patch_manager.api.php in Patch manager 7

Same filename and directory in other branches
  1. 6 patch_manager.api.php

Document patch_manager API usage

File

patch_manager.api.php
View 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

Namesort descending Description
hook_patch Implements hook_patch().