Provides several mechanisms for retrieving entities.
Hierarchy
- class \Drupal\Core\Entity\EntityRepository implements EntityRepositoryInterface
File
- core/lib/Drupal/Core/Entity/EntityRepository.php, line 13
Namespace
Drupal\Core\Entity
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityRepository::$entityTypeManager | protected | property | The entity type manager. |
EntityRepository::$languageManager | protected | property | The language manager. |
EntityRepository::getTranslationFromContext | public | function | Gets the entity translation to be used in the given context. Overrides EntityRepositoryInterface::getTranslationFromContext |
EntityRepository::loadEntityByConfigTarget | public | function | Loads an entity by the config target identifier. Overrides EntityRepositoryInterface::loadEntityByConfigTarget |
EntityRepository::loadEntityByUuid | public | function | Loads an entity by UUID. Overrides EntityRepositoryInterface::loadEntityByUuid |
EntityRepository::__construct | public | function | Constructs a new EntityRepository. |
Please login to continue.