function drush_devel_generate
Command callback. Generate a number of elements.
1 string reference to 'drush_devel_generate'
- devel_generate_drush_command in devel_generate/
drush/ devel_generate.drush8.inc - Implementation of hook_drush_command().
File
-
devel_generate/
drush/ devel_generate.drush8.inc, line 186
Code
function drush_devel_generate() {
$params = func_get_args();
$plugin_id = array_shift($params);
$instance_and_values = drupal_static('drush_devel_generate_generate_validate');
/** @var DevelGenerateBaseInterface $instance */
$instance = $instance_and_values[$plugin_id]['instance'];
$values = $instance_and_values[$plugin_id]['values'];
$instance->generate($values);
}