Skip to content
Snippets Groups Projects

Issue #3500586 - Add the right signature to the construtor

Files
12
@@ -4,6 +4,7 @@ namespace Drupal\taxonomy_entity_index\Commands;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drush\Commands\DrushCommands;
/**
@@ -101,7 +102,7 @@ class TaxonomyEntityIndexCommands extends DrushCommands {
}
$batch = [
'title' => t('Updating @num item(s)', ['@num' => $numOperations]),
'title' => new TranslatableMarkup('Updating @num item(s)', ['@num' => $numOperations]),
'operations' => $operations,
'finished' => '\Drupal\taxonomy_entity_index\BatchService::processEntityTypeReindexFinished',
];
Loading