You are here

public function WorkflowAccessControlHandler::__construct in Workflow 8

This is a hack.

Overrides EntityAccessControlHandler::__construct

File

src/WorkflowAccessControlHandler.php, line 27

Class

WorkflowAccessControlHandler
Defines the access control handler for the workflow entity type.

Namespace

Drupal\workflow

Code

public function __construct(EntityTypeInterface $entity_type = NULL) {
  $this->entityType = $entity_type;
  if ($entity_type) {
    parent::__construct($entity_type);
  }
}