You are here

public function ContextAccess::__construct in Context 8

Same name and namespace in other branches
  1. 8.4 src/Entity/ContextAccess.php \Drupal\context\Entity\ContextAccess::__construct()
  2. 8.0 src/Entity/ContextAccess.php \Drupal\context\Entity\ContextAccess::__construct()

Constructs an access control handler instance.

Parameters

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

Overrides EntityAccessControlHandler::__construct

File

src/Entity/ContextAccess.php, line 28
Contains \Drupal\context\Entity\ContextAccess.

Class

ContextAccess
Defines the access control handler for the page entity type.

Namespace

Drupal\context\Entity

Code

public function __construct(EntityTypeInterface $entity_type) {
  parent::__construct($entity_type);
}