function EntityAccess::__construct
Constructs a new EntityAccess instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\workspaces\WorkspaceManagerInterface $workspace_manager: The workspace manager service.
\Drupal\workspaces\WorkspaceInformationInterface $workspace_information: The workspace information service.
File
-
core/
modules/ workspaces/ src/ EntityAccess.php, line 53
Class
- EntityAccess
- Service wrapper for hooks relating to entity access control.
Namespace
Drupal\workspacesCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, WorkspaceManagerInterface $workspace_manager, WorkspaceInformationInterface $workspace_information) {
$this->entityTypeManager = $entity_type_manager;
$this->workspaceManager = $workspace_manager;
$this->workspaceInfo = $workspace_information;
}