You are here

public function SiteSettingEntityAccessControlHandler::__construct in Site Settings and Labels 8

Constructs an access control handler instance.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

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

Overrides EntityAccessControlHandler::__construct

File

src/SiteSettingEntityAccessControlHandler.php, line 36

Class

SiteSettingEntityAccessControlHandler
Access controller for the Site Setting entity.

Namespace

Drupal\site_settings

Code

public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($entity_type);
  $this->entityTypeManager = $entity_type_manager;
}