diff --git a/core/lib/Drupal/Core/Entity/Annotation/EntityType.php b/core/lib/Drupal/Core/Entity/Annotation/EntityType.php index ffa31a0..6301f80 100644 --- a/core/lib/Drupal/Core/Entity/Annotation/EntityType.php +++ b/core/lib/Drupal/Core/Entity/Annotation/EntityType.php @@ -8,6 +8,7 @@ namespace Drupal\Core\Entity\Annotation; use Drupal\Component\Annotation\Plugin; +use Drupal\Core\StringTranslation\StringTranslationTrait; /** * Defines an Entity type annotation object. @@ -24,6 +25,8 @@ */ class EntityType extends Plugin { + use StringTranslationTrait; + /** * The class used to represent the entity type. *