function DevelGenerateCommands::setPluginInstance
Same name in this branch
- 5.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()
Same name in other branches
- 8.x-1.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()
- 4.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()
Set the DevelGenerate plugin instance.
Parameters
mixed $pluginInstance: The DevelGenerate plugin instance.
1 call to DevelGenerateCommands::setPluginInstance()
- DevelGenerateCommands::validate in devel_generate/
src/ Drush/ Commands/ DevelGenerateCommands.php - The standard drush validate hook.
File
-
devel_generate/
src/ Drush/ Commands/ DevelGenerateCommands.php, line 95
Class
- DevelGenerateCommands
- Provide Drush commands for all the core Devel Generate plugins.
Namespace
Drupal\devel_generate\Drush\CommandsCode
public function setPluginInstance(mixed $pluginInstance) : void {
$this->pluginInstance = $pluginInstance;
}