public ShortcutAccessControlHandler::__construct(EntityTypeInterface $entity_type, ShortcutSetStorageInterface $shortcut_set_storage)
Constructs a ShortcutAccessControlHandler object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\shortcut\ShortcutSetStorageInterface $shortcut_set_storage: The shortcut_set storage.
Overrides EntityAccessControlHandler::__construct
File
- core/modules/shortcut/src/ShortcutAccessControlHandler.php, line 35
Class
- ShortcutAccessControlHandler
- Defines the access control handler for the shortcut entity type.
Namespace
Drupal\shortcut
Code
1 2 3 4 | public function __construct(EntityTypeInterface $entity_type , ShortcutSetStorageInterface $shortcut_set_storage ) { parent::__construct( $entity_type ); $this ->shortcutSetStorage = $shortcut_set_storage ; } |
Please login to continue.