You are here

protected function SqlSanitizeCommands::applies in URLs queuer 8

Verify if the module is enabled.

2 calls to SqlSanitizeCommands::applies()
SqlSanitizeCommands::messages in src/Commands/SqlSanitizeCommands.php
Return the messages.
SqlSanitizeCommands::sanitize in src/Commands/SqlSanitizeCommands.php
Clear Purge URLs queuer traffic history.

File

src/Commands/SqlSanitizeCommands.php, line 75

Class

SqlSanitizeCommands
Sanitize plugin for Drush sql:sanitize which clears the URL registry.

Namespace

Drupal\purge_queuer_url\Commands

Code

protected function applies() {
  Drush::bootstrapManager()
    ->doBootstrap(DRUSH_BOOTSTRAP_DRUPAL_FULL);
  return $this->moduleHandler
    ->moduleExists('purge_queuer_url');
}