public function SqlSanitizeCommands::sanitize in URLs queuer 8
Clear Purge URLs queuer traffic history.
@hook post-command sql-sanitize
@inheritdoc
File
- src/
Commands/ SqlSanitizeCommands.php, line 52
Class
- SqlSanitizeCommands
- Sanitize plugin for Drush sql:sanitize which clears the URL registry.
Namespace
Drupal\purge_queuer_url\CommandsCode
public function sanitize($result, CommandData $commandData) {
if ($this
->applies()) {
$this->registry
->clear();
}
}