| WorkspaceCRUDTest::testDeletingPublishedWorkspace |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php |
Tests that deleting a workspace keeps its already published content. |
| WorkspaceCRUDTest::testDeletingWorkspaces |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php |
Tests the deletion of workspaces. |
| WorkspaceCRUDTest::testDeletingWorkspaceWithChildren |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php |
Tests that a workspace with children can not be deleted. |
| WorkspaceCRUDTest::testEmptyWorkspaceTree |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php |
Tests loading the workspace tree when there are no workspaces available. |
| WorkspaceEntityDeleteTest |
class |
core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php |
Tests entity deletions with workspaces. |
| WorkspaceEntityDeleteTest |
class |
core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php |
Tests entity deletions with workspaces. |
| WorkspaceEntityDeleteTest.php |
file |
core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php |
|
| WorkspaceEntityDeleteTest.php |
file |
core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php |
|
| WorkspaceEntityDeleteTest::$defaultTheme |
property |
core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php |
The theme to install as the default for testing. |
| WorkspaceEntityDeleteTest::$entityTypeManager |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php |
The entity type manager. |
| WorkspaceEntityDeleteTest::$modules |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php |
Modules to install. |
| WorkspaceEntityDeleteTest::$modules |
property |
core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php |
Modules to install. |
| WorkspaceEntityDeleteTest::setUp |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php |
|
| WorkspaceEntityDeleteTest::setUp |
function |
core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php |
|
| WorkspaceEntityDeleteTest::testEntityDelete |
function |
core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php |
Test entity deletion with workspaces. |
| WorkspaceEntityDeleteTest::testEntityDeletion |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php |
Test entity deletion in a workspace. |
| WorkspaceEntityDeleteTest::testNodeDeleteWithBypassAccessPermission |
function |
core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php |
Test node deletion with workspaces and the 'bypass node access' permission. |
| WorkspaceInformationTest |
class |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
Tests the workspace information service. |
| WorkspaceInformationTest.php |
file |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
|
| WorkspaceInformationTest::$entityTypeManager |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
The entity type manager. |
| WorkspaceInformationTest::$modules |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
Modules to install. |
| WorkspaceInformationTest::$state |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
The state store. |
| WorkspaceInformationTest::$workspaceInformation |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
The workspace information service. |
| WorkspaceInformationTest::setUp |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
|
| WorkspaceInformationTest::testCustomSupportEntityTypes |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
Tests an entity type with a custom workspace handler. |
| WorkspaceInformationTest::testIgnoredEntityTypes |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
Tests ignored entity types. |
| WorkspaceInformationTest::testSupportedEntityTypes |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
Tests fully supported entity types. |
| WorkspaceInformationTest::testUnsupportedEntityTypes |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php |
Tests unsupported entity types. |
| WorkspaceIntegrationTest |
class |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests a complete publishing scenario across different workspaces. |
| WorkspaceIntegrationTest.php |
file |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
|
| WorkspaceIntegrationTest::$createdTimestamp |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Creation timestamp that should be incremented for each new entity. |
| WorkspaceIntegrationTest::$entityTypeManager |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
The entity type manager. |
| WorkspaceIntegrationTest::$modules |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Modules to install. |
| WorkspaceIntegrationTest::$nodes |
property |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
An array of nodes created before installing the Workspaces module. |
| WorkspaceIntegrationTest::assertEntityLoad |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Asserts that default revisions are properly swapped in a workspace. |
| WorkspaceIntegrationTest::assertEntityQuery |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Asserts that entity queries are giving the correct results in a workspace. |
| WorkspaceIntegrationTest::assertEntityRevisionLoad |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Asserts that non-default revisions are not changed. |
| WorkspaceIntegrationTest::assertWorkspaceStatus |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Checks entity load, entity queries and views results for a test scenario. |
| WorkspaceIntegrationTest::flattenExpectedValues |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Flattens the expectations array defined by testWorkspaces(). |
| WorkspaceIntegrationTest::providerTestAllowedEntityCrudInNonDefaultWorkspace |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Data provider for allowed entity CRUD operations. |
| WorkspaceIntegrationTest::setUp |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
|
| WorkspaceIntegrationTest::testCliPublishing |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests workspace publishing as anonymous user, simulating a CLI request. |
| WorkspaceIntegrationTest::testDisallowedEntityCreateInNonDefaultWorkspace |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests CREATE operations for unsupported entity types. |
| WorkspaceIntegrationTest::testDisallowedEntityDeleteInNonDefaultWorkspace |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests DELETE operations for unsupported entity types. |
| WorkspaceIntegrationTest::testDisallowedEntityUpdateInNonDefaultWorkspace |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests UPDATE operations for unsupported entity types. |
| WorkspaceIntegrationTest::testEntityQueryRelationship |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests the Entity Query relationship API with workspaces. |
| WorkspaceIntegrationTest::testEntityQueryWithoutConditions |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests entity query overrides without any conditions. |
| WorkspaceIntegrationTest::testExecuteInWorkspaceContext |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
@covers \Drupal\workspaces\WorkspaceManager::executeInWorkspace[[api-linebreak]] |
| WorkspaceIntegrationTest::testFormCacheForEntityForms |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests that entity forms can be stored in the form cache. |
| WorkspaceIntegrationTest::testFormCacheForRegularForms |
function |
core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php |
Tests that non-entity forms can be stored in the form cache. |