You are here

public function WebformCommands::drush_webform_remove_orphans in Webform 8.5

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

Removes orphaned submissions where the submission's webform was deleted.

@command webform:remove:orphans @usage webform:remove:orphans Removes orphaned submissions where the submission's webform was deleted. @aliases wfro,webform-remove-orphans

File

src/Commands/WebformCommands.php, line 279

Class

WebformCommands
Webform commands for Drush 9.x.

Namespace

Drupal\webform\Commands

Code

public function drush_webform_remove_orphans() {
  $this->cliService
    ->drush_webform_remove_orphans();
}