public function ContextAccess::__construct in Context 8
Same name and namespace in other branches
- 8.4 src/Entity/ContextAccess.php \Drupal\context\Entity\ContextAccess::__construct()
- 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\EntityCode
public function __construct(EntityTypeInterface $entity_type) {
parent::__construct($entity_type);
}