You are here

function quickupdate_help in Quick update 8

Same name and namespace in other branches
  1. 7 quickupdate.module \quickupdate_help()

Implements hook_help().

File

./quickupdate.module, line 15
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 is a custom Drush command to install all missing dependency projects that include modules and themes.') . '</dd>';
      $output .= '<dd>' . t('drush qup-missing-dependencies or dursh qup-md') . '</dd>';
      $output .= '</dl>';
      return $output;
  }
}