You are here

public function WebformCommands::drush_webform_import_validate in Webform 8.5

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

@hook validate webform:import

File

src/Commands/WebformCommands.php, line 74

Class

WebformCommands
Webform commands for Drush 9.x.

Namespace

Drupal\webform\Commands

Code

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