You are here

function redirect_hook_info in Redirect 7.2

Same name and namespace in other branches
  1. 8 redirect.module \redirect_hook_info()
  2. 7 redirect.module \redirect_hook_info()

Implements hook_hook_info().

File

./redirect.module, line 53

Code

function redirect_hook_info() {
  $hooks = array(
    'redirect_load',
    'redirect_load_by_source_alter',
    'redirect_access',
    'redirect_prepare',
    'redirect_validate',
    'redirect_presave',
    'redirect_insert',
    'redirect_update',
    'redirect_delete',
    'redirect_alter',
  );
  return array_fill_keys($hooks, array(
    'group' => 'redirect',
  ));
}