service workspaces.operation_factory in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workspaces/workspaces.services.yml \workspaces.operation_factory
- 9 core/modules/workspaces/workspaces.services.yml \workspaces.operation_factory
Class
Drupal\workspaces\WorkspaceOperationFactory6 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.
File
- core/
modules/ workspaces/ workspaces.services.yml - core/modules/workspaces/workspaces.services.yml
View source
- class: Drupal\workspaces\WorkspaceOperationFactory
- arguments:
- - '@entity_type.manager'
- - '@database'
- - '@workspaces.manager'
- - '@workspaces.association'
- - '@cache_tags.invalidator'