/**
  * Constructs a NodeAccessController object.
  *
  * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
  *   The entity type definition.
  * @param \Drupal\node\NodeGrantDatabaseStorageInterface $grant_storage
  *   The node grant storage.
  */
 public function __construct(EntityTypeInterface $entity_type, NodeGrantDatabaseStorageInterface $grant_storage)
 {
     parent::__construct($entity_type);
     $this->grantStorage = $grant_storage;
 }
 /**
  * Creates a new MenuLinkContentAccessController.
  *
  * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
  *   The entity type definition.
  * @param \Drupal\Core\Access\AccessManagerInterface $access_manager
  *   The access manager to check routes by name.
  */
 public function __construct(EntityTypeInterface $entity_type, AccessManagerInterface $access_manager)
 {
     parent::__construct($entity_type);
     $this->accessManager = $access_manager;
 }
 /**
  * Constructs a ShortcutAccessController object.
  *
  * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
  *   The entity type definition.
  * @param \Drupal\shortcut\ShortcutSetStorageInterface $shortcut_set_storage
  *   The shortcut_set storage.
  */
 public function __construct(EntityTypeInterface $entity_type, ShortcutSetStorageInterface $shortcut_set_storage)
 {
     parent::__construct($entity_type);
     $this->shortcutSetStorage = $shortcut_set_storage;
 }