Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
WorkspaceDeleteForm.php file core/modules/workspaces/src/Form/WorkspaceDeleteForm.php
WorkspaceDeleteForm::$entity property core/modules/workspaces/src/Form/WorkspaceDeleteForm.php The workspace entity.
WorkspaceDeleteForm::$workspaceAssociation property core/modules/workspaces/src/Form/WorkspaceDeleteForm.php The workspace association service.
WorkspaceDeleteForm::$workspaceRepository property core/modules/workspaces/src/Form/WorkspaceDeleteForm.php The workspace repository service.
WorkspaceDeleteForm::buildForm function core/modules/workspaces/src/Form/WorkspaceDeleteForm.php Form constructor.
WorkspaceDeleteForm::create function core/modules/workspaces/src/Form/WorkspaceDeleteForm.php Instantiates a new instance of this class.
WorkspaceDeleteForm::getDescription function core/modules/workspaces/src/Form/WorkspaceDeleteForm.php Returns additional text to display as a description.
WorkspaceDeleteForm::__construct function core/modules/workspaces/src/Form/WorkspaceDeleteForm.php Constructs a WorkspaceDeleteForm object.
WorkspaceForm class core/modules/workspaces/src/Form/WorkspaceForm.php Form controller for the workspace edit forms.
WorkspaceForm.php file core/modules/workspaces/src/Form/WorkspaceForm.php
WorkspaceForm::$entity property core/modules/workspaces/src/Form/WorkspaceForm.php The workspace entity.
WorkspaceForm::$messenger property core/modules/workspaces/src/Form/WorkspaceForm.php The messenger service.
WorkspaceForm::create function core/modules/workspaces/src/Form/WorkspaceForm.php Instantiates a new instance of this class.
WorkspaceForm::flagViolations function core/modules/workspaces/src/Form/WorkspaceForm.php Flags violations for the current form.
WorkspaceForm::form function core/modules/workspaces/src/Form/WorkspaceForm.php Gets the actual form array to be built.
WorkspaceForm::getEditedFieldNames function core/modules/workspaces/src/Form/WorkspaceForm.php Gets the names of all fields edited in the form.
WorkspaceForm::save function core/modules/workspaces/src/Form/WorkspaceForm.php Form submission handler for the 'save' action.
WorkspaceForm::__construct function core/modules/workspaces/src/Form/WorkspaceForm.php Constructs a new WorkspaceForm.
WorkspaceFormInterface interface core/modules/workspaces/src/Form/WorkspaceFormInterface.php Defines interface for workspace forms so they can be easily distinguished.
WorkspaceFormInterface.php file core/modules/workspaces/src/Form/WorkspaceFormInterface.php
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 enable.
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::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::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.
WorkspaceInterface::publish function core/modules/workspaces/src/WorkspaceInterface.php Publishes the contents of this workspace to the default (Live) workspace.

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