You are here

public function DevelGenerateBaseInterface::validateDrushParams in Devel 8.3

Same name and namespace in other branches
  1. 8 devel_generate/src/DevelGenerateBaseInterface.php \Drupal\devel_generate\DevelGenerateBaseInterface::validateDrushParams()
  2. 8.2 devel_generate/src/DevelGenerateBaseInterface.php \Drupal\devel_generate\DevelGenerateBaseInterface::validateDrushParams()
  3. 4.x devel_generate/src/DevelGenerateBaseInterface.php \Drupal\devel_generate\DevelGenerateBaseInterface::validateDrushParams()

Responsible for validating Drush params.

Parameters

array $args: The command arguments.

array $options: The commend options.

Return value

array An array of values ready to be used for generateElements().

7 methods override DevelGenerateBaseInterface::validateDrushParams()
ContentDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/ContentDevelGenerate.php
Responsible for validating Drush params.
ExampleDevelGenerate::validateDrushParams in devel_generate/tests/modules/devel_generate_example/src/Plugin/DevelGenerate/ExampleDevelGenerate.php
Responsible for validating Drush params.
MediaDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/MediaDevelGenerate.php
Responsible for validating Drush params.
MenuDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/MenuDevelGenerate.php
Responsible for validating Drush params.
TermDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/TermDevelGenerate.php
Responsible for validating Drush params.

... See full list

File

devel_generate/src/DevelGenerateBaseInterface.php, line 81

Class

DevelGenerateBaseInterface
Base interface definition for "DevelGenerate" plugins.

Namespace

Drupal\devel_generate

Code

public function validateDrushParams(array $args, array $options = []);