function DevelGenerateCommands::setParameters

Same name in other branches
  1. 4.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setParameters()
  2. 5.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::setParameters()
  3. 5.x devel_generate/src/Drush/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Drush\Commands\DevelGenerateCommands::setParameters()

Parameters

array $parameters:

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

File

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

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 setParameters($parameters) {
    $this->parameters = $parameters;
}