You are here

public function EntityManagerWrapper::__construct in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::__construct()
  2. 8 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::__construct()
  3. 8.2 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::__construct()

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

Overrides DefaultPluginManager::__construct

File

webprofiler/src/Entity/EntityManagerWrapper.php, line 42

Class

EntityManagerWrapper
Class EntityManagerWrapper.

Namespace

Drupal\webprofiler\Entity

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}