class EntityRepository

Provides several mechanisms for retrieving entities.

Hierarchy

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.

© 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!EntityRepository.php/class/EntityRepository/8.1.x