function realistic_dummy_content_api_drush_command in Realistic Dummy Content 8
Same name and namespace in other branches
- 8.2 api/realistic_dummy_content_api.drush.inc \realistic_dummy_content_api_drush_command()
- 7.2 api/realistic_dummy_content_api.drush.inc \realistic_dummy_content_api_drush_command()
- 7 api/realistic_dummy_content_api.drush.inc \realistic_dummy_content_api_drush_command()
- 3.x api/realistic_dummy_content_api.drush.inc \realistic_dummy_content_api_drush_command()
Implements hook_drush_command().
File
- api/
realistic_dummy_content_api.drush.inc, line 11 - Drush integration for the realistic_dummy_content_api module.
Code
function realistic_dummy_content_api_drush_command() {
$items['generate-realistic'] = array(
'description' => dt('Generates realistic dummy content by looking in each active module for a file called realistic_dummy_content/recipe/module_name.recipe.inc, which should contain a subclass of RealisticDummyContentRecipe called module_name_realistic_dummy_content_recipe with a run() method.'),
'aliases' => array(
'grc',
),
);
return $items;
}