You are here

protected property EntityReference::$entityRepository in GraphQL 8.4

The entity repository service.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

src/Plugin/GraphQL/DataProducer/Field/EntityReference.php, line 79

Class

EntityReference
Loads entities from an entity reference field.

Namespace

Drupal\graphql\Plugin\GraphQL\DataProducer\Field

Code

protected $entityRepository;