function webform_devel_drush_command in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_devel/webform_devel.drush.inc \webform_devel_drush_command()
Implements hook_drush_command().
File
- modules/
webform_devel/ webform_devel.drush.inc, line 13 - Webform module drush commands.
Code
function webform_devel_drush_command() {
$items = [];
$items['webform-devel-reset'] = [
'description' => 'Resets Webform user data and saved state for messages',
'core' => [
'8+',
],
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_ROOT,
'examples' => [
'webform-devel-reset' => 'Resets Webform user data and saved state for messages',
],
'aliases' => [
'wfdr',
'webform:devel:reset',
],
];
return $items;
}