function DevelGenerateCommands::setPluginInstance

Same name in this branch
  1. 5.x devel_generate/src/Drush/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Drush\Commands\DevelGenerateCommands::setPluginInstance()
Same name in other branches
  1. 8.x-1.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()
  2. 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/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\Commands

Code

public function setPluginInstance($pluginInstance) {
    $this->pluginInstance = $pluginInstance;
}