workspaces.manager

Same name in other branches
  1. 9 core/modules/workspaces/workspaces.services.yml \workspaces.manager
  2. 8.9.x core/modules/workspaces/workspaces.services.yml \workspaces.manager
  3. 10 core/modules/workspaces/workspaces.services.yml \workspaces.manager

Class

Drupal\workspaces\WorkspaceManager

Tags

  • service_id_collector
19 string references to workspaces.manager
ActiveWorkspaceUpdateTest::testActiveWorkspaceDuringUpdate in core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php
Tests that there is no active workspace during database updates.
EntityAccess::create in core/modules/workspaces/src/EntityAccess.php
EntityOperations::create in core/modules/workspaces/src/EntityOperations.php
EntityReferenceSupportedNewEntitiesConstraintValidator::create in core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityWorkspaceConflictConstraintValidator::create in core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php

... See full list

File

core/modules/workspaces/workspaces.services.yml

View source
  1. class: Drupal\workspaces\WorkspaceManager
  2. arguments:
  3. - '@request_stack'
  4. - '@entity_type.manager'
  5. - '@entity.memory_cache'
  6. - '@current_user'
  7. - '@state'
  8. - '@logger.channel.workspaces'
  9. - '@class_resolver'
  10. - '@workspaces.association'
  11. - '@workspaces.information'
  12. tags:
  13. - { name: service_id_collector, tag: workspace_negotiator }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.