You are here

function onlyone_drush_help in Allow a content type only once (Only One) 8

Same name and namespace in other branches
  1. 7 onlyone.drush.inc \onlyone_drush_help()

Implements hook_drush_help().

File

./onlyone.drush.inc, line 68
Drush commands related to the Only One module.

Code

function onlyone_drush_help($section) {
  switch ($section) {
    case 'meta:onlyone:title':
      return dt("Commands for the module 'Allow a content type only once (Only One)'");
    case 'meta:onlyone:summary':
      return dt("Interacts with the Only One module's functionalities.");
    case 'drush:onlyone-list':
      return dt("Creates a list of content types according to the status selected.");
    case 'drush:onlyone-enable':
      return dt("Enables 'Only One content' mode on content types.");
    case 'drush:onlyone-disable':
      return dt("Disables 'Only One content' mode on content types.");
    case 'drush:onlyone-new-menu-entry':
      return dt("Configures if the configured content types will be shown in a new menu entry.");
  }
}