function DevelGenerateCommands::generate

Same name in this branch
  1. 5.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::generate()
Same name in other branches
  1. 8.x-1.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::generate()
  2. 4.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::generate()

Wrapper for calling the plugin instance generate function.

7 calls to DevelGenerateCommands::generate()
DevelGenerateCommands::blockContent in devel_generate/src/Drush/Commands/DevelGenerateCommands.php
Create Block content blocks.
DevelGenerateCommands::content in devel_generate/src/Drush/Commands/DevelGenerateCommands.php
Create content.
DevelGenerateCommands::media in devel_generate/src/Drush/Commands/DevelGenerateCommands.php
Create media items.
DevelGenerateCommands::menus in devel_generate/src/Drush/Commands/DevelGenerateCommands.php
Create menus.
DevelGenerateCommands::terms in devel_generate/src/Drush/Commands/DevelGenerateCommands.php
Create terms in specified vocabulary.

... See full list

File

devel_generate/src/Drush/Commands/DevelGenerateCommands.php, line 258

Class

DevelGenerateCommands
Provide Drush commands for all the core Devel Generate plugins.

Namespace

Drupal\devel_generate\Drush\Commands

Code

public function generate() : void {
    $instance = $this->pluginInstance;
    $instance->generate($this->parameters);
}