Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
WorkspaceInformationInterface interface core/modules/workspaces/src/WorkspaceInformationInterface.php Provides an interface for workspace-support information.
WorkspaceInformationInterface.php file core/modules/workspaces/src/WorkspaceInformationInterface.php
WorkspaceInformationInterface::getSupportedEntityTypes function core/modules/workspaces/src/WorkspaceInformationInterface.php Returns an array of entity types that can belong to workspaces.
WorkspaceInformationInterface::isEntityDeletable function core/modules/workspaces/src/WorkspaceInformationInterface.php Determines whether an entity can be deleted in the given workspace.
WorkspaceInformationInterface::isEntityIgnored function core/modules/workspaces/src/WorkspaceInformationInterface.php Determines whether CRUD operations for an entity are allowed.
WorkspaceInformationInterface::isEntitySupported function core/modules/workspaces/src/WorkspaceInformationInterface.php Determines whether an entity can belong to a workspace.
WorkspaceInformationInterface::isEntityTypeIgnored function core/modules/workspaces/src/WorkspaceInformationInterface.php Determines whether CRUD operations for an entity type are allowed.
WorkspaceInformationInterface::isEntityTypeSupported function core/modules/workspaces/src/WorkspaceInformationInterface.php Determines whether an entity type can belong to a workspace.
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.
WorkspaceIntegrationTest::testNodeAccessDifferringRevisionIdsOnTarget function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests workspace publishing is not sensitive to node access.
WorkspaceIntegrationTest::testPublishWorkspaceDedicatedTableStorage function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests publishing with fields in dedicated table storage.
WorkspaceIntegrationTest::testWorkspaceAssociationDataIntegrity function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests the workspace association data integrity for entity CRUD operations.
WorkspaceIntegrationTest::testWorkspaceHierarchy function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests entity tracking in workspace descendants.
WorkspaceIntegrationTest::testWorkspaces function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests various scenarios for creating and publishing content in workspaces.
WorkspaceInterface interface core/modules/workspaces/src/WorkspaceInterface.php Defines an interface for the workspace entity type.
WorkspaceInterface.php file core/modules/workspaces/src/WorkspaceInterface.php
WorkspaceInterface::getCreatedTime function core/modules/workspaces/src/WorkspaceInterface.php Gets the workspace creation timestamp.
WorkspaceInterface::hasParent function core/modules/workspaces/src/WorkspaceInterface.php Determines whether the workspace has a parent.

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