You are here

function workbench_access_drush_command in Workbench Access 8

Same name and namespace in other branches
  1. 7 workbench_access.drush.inc \workbench_access_drush_command()

Implements hook_drush_command().

1 call to workbench_access_drush_command()
workbench_access_drush_help in ./workbench_access.drush.inc
Implements hook_drush_help().

File

./workbench_access.drush.inc, line 15
Drush commands for Workbench Access.

Code

function workbench_access_drush_command() {
  $items = [];
  $items['workbench-access-test'] = [
    'description' => 'Install test vocabulary for Workbench Access.',
    'aliases' => [
      'wa-test',
    ],
  ];
  $items['workbench-access-flush'] = [
    'description' => 'Flush section assignments for users and roles.',
    'aliases' => [
      'wa-flush',
    ],
  ];
  return $items;
}