You are here

public function WebformCommands::drush_webform_purge_validate in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Commands/WebformCommands.php \Drupal\webform\Commands\WebformCommands::drush_webform_purge_validate()

@hook validate webform:purge

File

src/Commands/WebformCommands.php, line 103

Class

WebformCommands
Webform commands for Drush 9.x.

Namespace

Drupal\webform\Commands

Code

public function drush_webform_purge_validate(CommandData $commandData) {
  $arguments = array_values($commandData
    ->arguments());
  array_shift($arguments);
  call_user_func_array([
    $this->cliService,
    'drush_webform_purge_validate',
  ], $arguments);
}