class Drush in Realistic Dummy Content 8
Hierarchy
- class \Drupal\realistic_dummy_content_api\environments\Drush
Expanded class hierarchy of Drush
File
- api/
src/ environments/ Drush.php, line 13 - Define autoload class.
Namespace
Drupal\realistic_dummy_content_api\environmentsView source
class Drush {
static function 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 Recipe called module_name_realistic_dummy_content_recipe with a run() method.'),
'aliases' => array(
'grc',
),
);
return $items;
}
static function generateRealistic() {
realistic_dummy_content_api_apply_recipe(new DrushLog());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Drush:: |
static | function | ||
Drush:: |
static | function |