You are here

function node_revisions_autoclean_help in Node Revisions Autoclean 8

Implements hook_help().

File

./node_revisions_autoclean.module, line 15
Contains node_revisions_autoclean.module.

Code

function node_revisions_autoclean_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the node_revisions_autoclean module.
    case 'help.page.node_revisions_autoclean':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Node revisions autoclean') . '</p>';
      $output .= '<p>' . t('Drush command available only for Drupal >= 8.4 (drush 9)') . '</p>';
      return $output;
    default:
  }
}