protected property RouteEntity::$entityRepository in GraphQL 8.3
The entity repository service.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
- modules/
graphql_core/ src/ Plugin/ GraphQL/ Fields/ Routing/ RouteEntity.php, line 58
Class
- RouteEntity
- Retrieve the current routes entity, if it is an entity route.
Namespace
Drupal\graphql_core\Plugin\GraphQL\Fields\RoutingCode
protected $entityRepository;