function DevelGenerateCommands::generate
Same name in other branches
- 5.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::generate()
- 5.x devel_generate/src/Drush/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Drush\Commands\DevelGenerateCommands::generate()
Wrapper for calling the plugin instance generate function.
6 calls to DevelGenerateCommands::generate()
- DevelGenerateCommands::content in devel_generate/
src/ Commands/ DevelGenerateCommands.php - Create content.
- DevelGenerateCommands::media in devel_generate/
src/ Commands/ DevelGenerateCommands.php - Create media items.
- 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.
File
-
devel_generate/
src/ Commands/ DevelGenerateCommands.php, line 280
Class
- DevelGenerateCommands
- Provide Drush commands for all the Devel Generate processes.
Namespace
Drupal\devel_generate\CommandsCode
public function generate() {
$instance = $this->getPluginInstance();
$instance->generate($this->getParameters());
}