EntityTypeManager::$stringTranslation

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeManager.php \Drupal\Core\Entity\EntityTypeManager::stringTranslation
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeManager.php \Drupal\Core\Entity\EntityTypeManager::stringTranslation
  3. 10 core/lib/Drupal/Core/Entity/EntityTypeManager.php \Drupal\Core\Entity\EntityTypeManager::stringTranslation

The string translation service.

Type: \Drupal\Core\StringTranslation\TranslationInterface

File

core/lib/Drupal/Core/Entity/EntityTypeManager.php, line 49

Class

EntityTypeManager
Manages entity type plugin definitions.

Namespace

Drupal\Core\Entity

Code

protected $stringTranslation;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.