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