function quickupdate_help in Quick update 7
Same name and namespace in other branches
- 8 quickupdate.module \quickupdate_help()
Implements hook_help().
File
- ./
quickupdate.module, line 11 - Primarily Drupal hooks and global API functions.
Code
function quickupdate_help($path, $arg) {
switch ($path) {
case 'admin/help#quickupdate':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Drupal core provides a way to install module or theme one by one, but you can install multiple projects via the Quick update module. There is an admin UI to search the most installed projects easier.') . '</p>';
$output .= '<p>' . t('The Quick update module enhances Drupal core update features and provides a quick way to batch install new projects and install missing dependency projects.') . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Admin UI') . '</dt>';
$output .= '<dd>' . t('The Quick update module depends on the Update module and uses the same workflow as the Update module. Thus, you can run the updates via the <a href="@quickupdate">admin update page</a>.', array(
'@quickupdate' => url('admin/reports/updates/update'),
)) . '</dd>';
$output .= '<dt>' . t('Drush command') . '</dt>';
$output .= '<dd>' . t('There are some custom Drush commands to list or install missing dependency projects that include modules and themes.') . '</dd>';
$output .= '<dd>' . t('"!command" lists current missing dependency projects.', array(
'!command' => 'drush qup-list-md',
)) . '</dd>';
$output .= '<dd>' . t('"!command" downloads projects and their dependency projects.', array(
'!command' => 'drush qup-dl',
)) . '</dd>';
$output .= '<dd>' . t('"!command" downloads all missing dependency projects.', array(
'!command' => 'drush qup-dl-md',
)) . '</dd>';
$output .= '</dl>';
return $output;
}
}