public function FillPdfFileContextAccessControlHandler::__construct in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x src/FillPdfFileContextAccessControlHandler.php \Drupal\fillpdf\FillPdfFileContextAccessControlHandler::__construct()
Constructs an access control handler instance.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
Overrides EntityAccessControlHandler::__construct
File
- src/
FillPdfFileContextAccessControlHandler.php, line 44
Class
- FillPdfFileContextAccessControlHandler
- Access controller for the FillPDF file context entity.
Namespace
Drupal\fillpdfCode
public function __construct(EntityTypeInterface $entity_type, FillPdfAccessHelperInterface $access_helper, FillPdfLinkManipulatorInterface $link_manipulator, FillPdfContextManagerInterface $context_manager) {
parent::__construct($entity_type);
$this->accessHelper = $access_helper;
$this->linkManipulator = $link_manipulator;
$this->contextManager = $context_manager;
}