Commit 6f93c1a9 authored by Marcin Grabias's avatar Marcin Grabias
Browse files

Use LogLevel:INFO instead of hardcoded string.

parent 53fb20e1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ use Drupal\views_bulk_operations\Service\ViewsbulkOperationsViewDataInterface;
use Drupal\views_bulk_operations\ViewsBulkOperationsBatch;
use Drush\Commands\DrushCommands;
use Drush\Drush;
use Psr\Log\LogLevel;

/**
 * Defines Drush commands for the module.
@@ -345,7 +346,7 @@ class ViewsBulkOperationsCommands extends DrushCommands {
  public static function message($message = NULL, $type = 'status', $repeat = TRUE) {
    // Status type no longer exists, mapping required.
    if ($type === 'status') {
      $type = 'info';
      $type = LogLevel::INFO;
    }
    Drush::logger()->log($type, $message, []);
  }