public function EntityManagerWrapper::getDefinition in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getDefinition()
- 8.2 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getDefinition()
- 4.x webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getDefinition()
Return value
\Drupal\Core\Entity\EntityTypeInterface|null
Overrides DiscoveryCachedTrait::getDefinition
File
- webprofiler/
src/ Entity/ EntityManagerWrapper.php, line 208
Class
- EntityManagerWrapper
- Class EntityManagerWrapper
Namespace
Drupal\webprofiler\EntityCode
public function getDefinition($entity_type_id, $exception_on_invalid = TRUE) {
return $this->entityManager
->getDefinition($entity_type_id, $exception_on_invalid);
}