UuidResolver::$entityRepository

Same name in other branches
  1. 9 core/modules/serialization/src/EntityResolver/UuidResolver.php \Drupal\serialization\EntityResolver\UuidResolver::entityRepository
  2. 8.9.x core/modules/serialization/src/EntityResolver/UuidResolver.php \Drupal\serialization\EntityResolver\UuidResolver::entityRepository
  3. 11.x core/modules/serialization/src/EntityResolver/UuidResolver.php \Drupal\serialization\EntityResolver\UuidResolver::entityRepository

The entity repository.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

core/modules/serialization/src/EntityResolver/UuidResolver.php, line 18

Class

UuidResolver
Resolves entities from data that contains an entity UUID.

Namespace

Drupal\serialization\EntityResolver

Code

protected $entityRepository;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.