public function WebformCommands::drush_webform_remove_orphans in Webform 6.x
Same name and namespace in other branches
- 8.5 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\CommandsCode
public function drush_webform_remove_orphans() {
$this->cliService
->drush_webform_remove_orphans();
}