function DevelGenerateCommands::generate

Same name in other branches
  1. 4.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::generate()
  2. 5.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::generate()
  3. 5.x devel_generate/src/Drush/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Drush\Commands\DevelGenerateCommands::generate()
5 calls to DevelGenerateCommands::generate()
DevelGenerateCommands::content in devel_generate/src/Commands/DevelGenerateCommands.php
Create content.
DevelGenerateCommands::menus in devel_generate/src/Commands/DevelGenerateCommands.php
Create menus.
DevelGenerateCommands::terms in devel_generate/src/Commands/DevelGenerateCommands.php
Create terms in specified vocabulary.
DevelGenerateCommands::users in devel_generate/src/Commands/DevelGenerateCommands.php
Create users.
DevelGenerateCommands::vocabs in devel_generate/src/Commands/DevelGenerateCommands.php
Create vocabularies.

File

devel_generate/src/Commands/DevelGenerateCommands.php, line 187

Class

DevelGenerateCommands
For commands that are parts of modules, Drush expects to find commandfiles in __MODULE__/src/Commands, and the namespace is Drupal/__MODULE__/Commands.

Namespace

Drupal\devel_generate\Commands

Code

public function generate() {
    $instance = $this->getPluginInstance();
    $instance->generate($this->getParameters());
}