You are here

quickupdate.api.php in Quick update 7

Same filename and directory in other branches
  1. 8 quickupdate.api.php

Hooks provided by Quick update module.

File

quickupdate.api.php
View source
<?php

/**
 * @file
 * Hooks provided by Quick update module.
 */

/**
 * Allows to add more projects to the searching list.
 */
function hook_quickupdate_search_projects() {
  return array(
    'modules' => array(
      'views' => t('Views'),
    ),
    'themes' => array(
      'zen' => t('Zen'),
    ),
  );
}

/**
 * Allows modules to alter the projects data.
 */
function hook_quickupdate_search_projects_alter(&$projects) {
  $projects['modules']['views'] = t('Custom title');
  $projects['themes']['zen'] = t('Custom title');
}

Functions

Namesort descending Description
hook_quickupdate_search_projects Allows to add more projects to the searching list.
hook_quickupdate_search_projects_alter Allows modules to alter the projects data.