function yaml_content_drush_command in YAML Content 8.2
Same name and namespace in other branches
- 8 yaml_content.drush.inc \yaml_content_drush_command()
Implements hook_drush_command().
File
- ./
yaml_content.drush.inc, line 14 - Drush commands for the yaml_content module.
Code
function yaml_content_drush_command() {
$items = [];
$items['yaml-content-import'] = [
'description' => dt('Import yaml content.'),
'aliases' => [
'yci',
],
'arguments' => [],
'options' => [],
];
$items['yaml-content-import-module'] = [
'description' => dt('Import yaml content from a module.'),
'aliases' => [
'ycim',
],
'arguments' => [],
'options' => [],
];
$items['yaml-content-import-dev'] = [
'description' => dt('Dev debugging import.'),
'aliases' => [
'ycid',
],
'arguments' => [],
'options' => [],
];
return $items;
}