You are here

public function DevelGenerateCommands::setPluginInstance in Devel 8.2

Same name and namespace in other branches
  1. 8.3 devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()
  2. 8 devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()
  3. 4.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setPluginInstance()

Parameters

mixed $pluginInstance:

1 call to DevelGenerateCommands::setPluginInstance()
DevelGenerateCommands::validate in devel_generate/src/Commands/DevelGenerateCommands.php
@hook validate

File

devel_generate/src/Commands/DevelGenerateCommands.php, line 69

Class

DevelGenerateCommands
For commands that are parts of modules, Drush expects to find commandfiles in __MODULE__/src/Commands, and the namespace is Drupal/__MODULE__/Commands.

Namespace

Drupal\devel_generate\Commands

Code

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