You are here

service workspaces.operation_factory in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workspaces/workspaces.services.yml \workspaces.operation_factory
  2. 9 core/modules/workspaces/workspaces.services.yml \workspaces.operation_factory

Class

Drupal\workspaces\WorkspaceOperationFactory
6 string references to workspaces.operation_factory
Workspace::publish in core/modules/workspaces/src/Entity/Workspace.php
Publishes the contents of this workspace to the default (Live) workspace.
WorkspaceIntegrationTest::testNodeAccessDifferringRevisionIdsOnTarget in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests workspace publishing is not sensitive to node access.
WorkspaceIntegrationTest::testWorkspaces in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests various scenarios for creating and publishing content in workspaces.
WorkspaceMergeForm::create in core/modules/workspaces/src/Form/WorkspaceMergeForm.php
Instantiates a new instance of this class.
WorkspaceMergerTest::testWorkspaceMerger in core/modules/workspaces/tests/src/Kernel/WorkspaceMergerTest.php
Tests workspace merging.

... See full list

File

core/modules/workspaces/workspaces.services.yml
core/modules/workspaces/workspaces.services.yml

View source
  1. class: Drupal\workspaces\WorkspaceOperationFactory
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@database'
  5. - '@workspaces.manager'
  6. - '@workspaces.association'
  7. - '@cache_tags.invalidator'