You are here

public function WebformSubmissionDevelGenerate::validateDrushParams in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/DevelGenerate/WebformSubmissionDevelGenerate.php \Drupal\webform\Plugin\DevelGenerate\WebformSubmissionDevelGenerate::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().

Overrides DevelGenerateBaseInterface::validateDrushParams

File

src/Plugin/DevelGenerate/WebformSubmissionDevelGenerate.php, line 32

Class

WebformSubmissionDevelGenerate
Provides a WebformSubmissionDevelGenerate plugin.

Namespace

Drupal\webform\Plugin\DevelGenerate

Code

public function validateDrushParams(array $args, array $options = []) {
  return $this
    ->_validateDrushParams($args, $options);
}