You are here

public function EntityManagerWrapper::getAccessControlHandler in Devel 8

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

Creates a new access control handler instance.

Parameters

string $entity_type_id: The entity type ID for this access control handler.

Return value

\Drupal\Core\Entity\EntityAccessControlHandlerInterface A access control handler instance.

Overrides EntityTypeManagerInterface::getAccessControlHandler

File

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

Class

EntityManagerWrapper
Class EntityManagerWrapper

Namespace

Drupal\webprofiler\Entity

Code

public function getAccessControlHandler($entity_type) {
  return $this->entityManager
    ->getAccessControlHandler($entity_type);
}