public EntityManager::loadEntityByUuid($entity_type_id, $uuid)
Overrides EntityRepositoryInterface::loadEntityByUuid
File
- core/lib/Drupal/Core/Entity/EntityManager.php, line 358
Class
- EntityManager
- Provides a wrapper around many other services relating to entities.
Namespace
Drupal\Core\Entity
Code
public function loadEntityByUuid($entity_type_id, $uuid) { return $this->container->get('entity.repository')->loadEntityByUuid($entity_type_id, $uuid); }
Please login to continue.