You are here

public function EntityManagerWrapper::getLoaded in Devel 8.2

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

Parameters

$type:

$entity_type:

Return value

array

File

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

Class

EntityManagerWrapper
Class EntityManagerWrapper

Namespace

Drupal\webprofiler\Entity

Code

public function getLoaded($type, $entity_type) {
  return isset($this->loaded[$type][$entity_type]) ? $this->loaded[$type][$entity_type] : NULL;
}