You are here

protected property EntityTranslation::$entityRepository in GraphQL 8.4

The entity repository.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

src/Plugin/GraphQL/DataProducer/Entity/EntityTranslation.php, line 57

Class

EntityTranslation
Returns the entity in a given language.

Namespace

Drupal\graphql\Plugin\GraphQL\DataProducer\Entity

Code

protected $entityRepository;