interface EntityRepositoryInterface
Provides an interface for an entity repository.
Hierarchy
- interface \Drupal\Core\Entity\EntityRepositoryInterface
File
- core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php, line 8
Namespace
Drupal\Core\EntityMembers
Name | Modifiers | Type | Description |
---|---|---|---|
EntityRepositoryInterface::getTranslationFromContext | public | function | Gets the entity translation to be used in the given context. |
EntityRepositoryInterface::loadEntityByConfigTarget | public | function | Loads an entity by the config target identifier. |
EntityRepositoryInterface::loadEntityByUuid | public | function | Loads an entity by UUID. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityRepositoryInterface.php/interface/EntityRepositoryInterface/8.1.x