You are here

protected property CurrentLanguageResetTrait::$translator in GraphQL 8.4

The translator.

Type: \Drupal\Core\StringTranslation\Translator\TranslatorInterface

File

src/EventSubscriber/CurrentLanguageResetTrait.php, line 31

Class

CurrentLanguageResetTrait
Sets the current language for the current request.

Namespace

Drupal\graphql\EventSubscriber

Code

protected $translator;