function ShortcutSetAccessControlHandler::__construct

Same name in other branches
  1. 11.x core/modules/shortcut/src/ShortcutSetAccessControlHandler.php \Drupal\shortcut\ShortcutSetAccessControlHandler::__construct()

Constructs a ShortcutSetAccessControlHandler object.

Parameters

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

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

Overrides EntityAccessControlHandler::__construct

File

core/modules/shortcut/src/ShortcutSetAccessControlHandler.php, line 29

Class

ShortcutSetAccessControlHandler
Defines the access control handler for the shortcut set entity type.

Namespace

Drupal\shortcut

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.