function WorkspaceTracker::__construct
Same name and namespace in other branches
- 11.x core/modules/workspaces/src/WorkspaceTracker.php \Drupal\workspaces\WorkspaceTracker::__construct()
File
-
core/
modules/ workspaces/ src/ WorkspaceTracker.php, line 52
Class
- WorkspaceTracker
- Provides a class for CRUD operations on workspace associations.
Namespace
Drupal\workspacesCode
public function __construct(protected Connection $database, protected EntityTypeManagerInterface $entityTypeManager, protected WorkspaceManagerInterface $workspaceManager, protected WorkspaceRepositoryInterface $workspaceRepository, #[Autowire(service: 'logger.channel.workspaces')] protected LoggerInterface $logger) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.