protected property EntityById::$entityRepository in GraphQL 8.3
The entity repository service.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
- modules/
graphql_core/ src/ Plugin/ GraphQL/ Fields/ Entity/ EntityById.php, line 50
Class
- EntityById
- Plugin annotation @GraphQLField( id = "entity_by_id", secure = true, arguments = { "id" = "String!" }, contextual_arguments = {"language"}, deriver = "Drupal\graphql_core\Plugin\Deriver\Fields\EntityByIdDeriver" )
Namespace
Drupal\graphql_core\Plugin\GraphQL\Fields\EntityCode
protected $entityRepository;