You are here

function node_revision_delete_drush_help in Node Revision Delete 8

Same name and namespace in other branches
  1. 7.3 node_revision_delete.drush.inc \node_revision_delete_drush_help()
  2. 7.2 node_revision_delete.drush.inc \node_revision_delete_drush_help()

Implements hook_drush_help().

File

./node_revision_delete.drush.inc, line 114
Drush commands related to the Node Revision Delete module.

Code

function node_revision_delete_drush_help($section) {
  switch ($section) {
    case 'meta:node_revision_delete:title':
      return dt('Node Revision Delete commands');
    case 'meta:node_revision_delete:summary':
      return dt("Interacts with the Node Revision Delete module's functionalities.");
    case 'drush:node-revision-delete':
      return dt('Deletes old node revisions for a given content type.');
    case 'drush:nrd-delete-cron-run':
      return dt('Configures how many revisions delete per cron run.');
    case 'drush:nrd-last-execute':
      return dt('Get the last time that the node revision delete was made.');
    case 'drush:nrd-set-time':
      return dt('Configures the frequency with which to delete revisions while cron is running.');
    case 'drush:nrd-get-time':
      return dt('Shows the frequency with which to delete revisions while cron is running.');
    case 'drush:nrd-when-to-delete-time':
      return dt('Configures the time options for the inactivity time that the revision must have to be deleted.');
    case 'drush:nrd-minimum-age-to-delete-time':
      return dt('Configures time options to know the minimum age that the revision must have to be deleted.');
    case 'drush:nrd-delete-prior-revisions':
      return dt('Define which prior revisions to which revision of which node to delete.');
  }
}