function DevelGenerateBaseInterface::validateDrushParams
Same name in other branches
- 5.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.
File
-
devel_generate/
src/ DevelGenerateBaseInterface.php, line 81
Class
- DevelGenerateBaseInterface
- Base interface definition for "DevelGenerate" plugins.
Namespace
Drupal\devel_generateCode
public function validateDrushParams(array $args, array $options = []);