function EntityManagerWrapper::getDefinition

File

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

Class

EntityManagerWrapper
Class EntityManagerWrapper

Namespace

Drupal\webprofiler\Entity

Code

public function getDefinition($entity_type_id, $exception_on_invalid = TRUE) {
    return $this->entityManager
        ->getDefinition($entity_type_id, $exception_on_invalid);
}