You are here

public function ApiProductEntityAccessCacheReset::__construct in Apigee Edge 8

ApiProductEntityAccessCacheReset constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.

File

src/EventSubscriber/ApiProductEntityAccessCacheReset.php, line 50

Class

ApiProductEntityAccessCacheReset
Ensures that entity access cache gets cleared on API product entities.

Namespace

Drupal\apigee_edge\EventSubscriber

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}