diff --git b/core/lib/Drupal/Core/Entity/EntityAccessController.php a/core/lib/Drupal/Core/Entity/EntityAccessController.php index a8115f5..91c5514 100644 --- b/core/lib/Drupal/Core/Entity/EntityAccessController.php +++ a/core/lib/Drupal/Core/Entity/EntityAccessController.php @@ -53,7 +53,7 @@ public function __construct($entity_type, ModuleHandlerInterface $module_handler * {@inheritdoc} */ public static function createInstance(ContainerInterface $container, $entity_type, array $entity_info) { - new static( + return new static( $entity_type, $container->get('module_handler') ); diff --git b/core/lib/Drupal/Core/Entity/EntityNG.php a/core/lib/Drupal/Core/Entity/EntityNG.php index ac975d1..c6df9c1 100644 --- b/core/lib/Drupal/Core/Entity/EntityNG.php +++ a/core/lib/Drupal/Core/Entity/EntityNG.php @@ -413,14 +413,12 @@ public function isEmpty() { * {@inheritdoc} */ public function access($operation = 'view', AccountInterface $account = NULL) { + $access_controller = \Drupal::entityManager()->getAccessController($this->entityType); + if ($operation == 'create') { - return \Drupal::entityManager() - ->getAccessController($this->entityType) - ->createAccess($this->bundle(), $account); + return $access_controller->createAccess($this->bundle(), $account); } - return \Drupal::entityManager() - ->getAccessController($this->entityType) - ->access($this, $operation, $this->activeLangcode, $account); + return $access_controller->access($this, $operation, $this->activeLangcode, $account); } /**