public function DevelGenerateCommands::setPluginInstance in Devel 4.x
Same name and namespace in other branches
- 8.3 devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()
- 8 devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()
- 8.2 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/ Commands/ DevelGenerateCommands.php - The standard drush validate hook.
File
- devel_generate/
src/ Commands/ DevelGenerateCommands.php, line 93
Class
- DevelGenerateCommands
- Provide Drush commands for all the Devel Generate processes.
Namespace
Drupal\devel_generate\CommandsCode
public function setPluginInstance($pluginInstance) {
$this->pluginInstance = $pluginInstance;
}