You are here

function taxonomy_term_depth_drush_command in Taxonomy Term Depth 8.2

Implements hook_drush_command().

File

drush/taxonomy_term_depth.drush.inc, line 13
Drush integration for the taxonomy_term_depth module.

Code

function taxonomy_term_depth_drush_command() {
  $items = [];

  // Command term-depth-prepare-uninstall
  // prepares the module to be uninstalled.
  $items['term-depth-prepare-uninstall'] = [
    'description' => "Prepare uninstalling taxonomy term depth. Remove fields and data.",
    'aliases' => [
      'tdpu',
    ],
  ];
  return $items;
}