You are here

protected static function MigrateUpgradeRunBatch::getTranslation in Migrate Upgrade 8

Wraps the translation manager.

Return value

\Drupal\Core\StringTranslation\TranslationManager The string translation manager.

File

src/MigrateUpgradeRunBatch.php, line 246
Contains \Drupal\migrate_upgrade\MigrateUpgradeRunBatch.

Class

MigrateUpgradeRunBatch
Runs a single migration batch.

Namespace

Drupal\migrate_upgrade

Code

protected static function getTranslation() {
  return \Drupal::translation();
}