You are here

public function BillingScheduleAccessControlHandler::__construct in Commerce Recurring Framework 8

Constructs a new BillingScheduleAccessControlHandler object.

Parameters

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

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

Overrides EntityAccessControlHandler::__construct

File

src/BillingScheduleAccessControlHandler.php, line 39

Class

BillingScheduleAccessControlHandler
Controls access for the Billing Schedule entity type.

Namespace

Drupal\commerce_recurring

Code

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