function WorkspaceTracker::__construct

File

core/modules/workspaces/src/WorkspaceTracker.php, line 52

Class

WorkspaceTracker
Provides a class for CRUD operations on workspace associations.

Namespace

Drupal\workspaces

Code

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.