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
Workspace::hasParent function core/modules/workspaces/src/Entity/Workspace.php Determines whether the workspace has a parent.
Workspace::postDelete function core/modules/workspaces/src/Entity/Workspace.php Acts on deleted entities before the delete hook is invoked.
Workspace::preDelete function core/modules/workspaces/src/Entity/Workspace.php Acts on entities before they are deleted and before hooks are invoked.
Workspace::publish function core/modules/workspaces/src/Entity/Workspace.php Publishes the contents of this workspace to the default (Live) workspace.
Workspace::setCreatedTime function core/modules/workspaces/src/Entity/Workspace.php Sets the workspace creation timestamp.
WorkspaceAccessControlHandler class core/modules/workspaces/src/WorkspaceAccessControlHandler.php Defines the access control handler for the workspace entity type.
WorkspaceAccessControlHandler.php file core/modules/workspaces/src/WorkspaceAccessControlHandler.php
WorkspaceAccessControlHandler::checkAccess function core/modules/workspaces/src/WorkspaceAccessControlHandler.php Performs access checks.
WorkspaceAccessControlHandler::checkCreateAccess function core/modules/workspaces/src/WorkspaceAccessControlHandler.php Performs create access checks.
WorkspaceAccessException class core/modules/workspaces/src/WorkspaceAccessException.php Exception thrown when trying to switch to an inaccessible workspace.
WorkspaceAccessException.php file core/modules/workspaces/src/WorkspaceAccessException.php
WorkspaceAccessTest class core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php Tests access on workspaces.
WorkspaceAccessTest.php file core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
WorkspaceAccessTest::$modules property core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php Modules to enable.
WorkspaceAccessTest::operationCases function core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php Tests cases for testWorkspaceAccess().
WorkspaceAccessTest::setUp function core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
WorkspaceAccessTest::testPublishWorkspaceAccess function core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php Tests workspace publishing access.
WorkspaceAccessTest::testWorkspaceAccess function core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php Verifies all workspace roles have the correct access for the operation.
WorkspaceAccessTest::testWorkspaceSelection function core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php @coversDefaultClass \Drupal\workspaces\Plugin\EntityReferenceSelection\WorkspaceSelection[[api-linebreak]]
WorkspaceActivateForm class core/modules/workspaces/src/Form/WorkspaceActivateForm.php Handle activation of a workspace on administrative pages.
WorkspaceActivateForm.php file core/modules/workspaces/src/Form/WorkspaceActivateForm.php
WorkspaceActivateForm::$entity property core/modules/workspaces/src/Form/WorkspaceActivateForm.php The workspace entity.
WorkspaceActivateForm::$messenger property core/modules/workspaces/src/Form/WorkspaceActivateForm.php The messenger service.
WorkspaceActivateForm::$workspaceManager property core/modules/workspaces/src/Form/WorkspaceActivateForm.php The workspace replication manager.
WorkspaceActivateForm::actions function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Returns an array of supported actions for the current entity form.
WorkspaceActivateForm::buildForm function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Form constructor.
WorkspaceActivateForm::checkAccess function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Checks access for the workspace activate form.
WorkspaceActivateForm::create function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Instantiates a new instance of this class.
WorkspaceActivateForm::getCancelUrl function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Returns the route to go to if the user cancels the action.
WorkspaceActivateForm::getDescription function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Returns additional text to display as a description.
WorkspaceActivateForm::getQuestion function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Returns the question to ask the user.
WorkspaceActivateForm::submitForm function core/modules/workspaces/src/Form/WorkspaceActivateForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
WorkspaceActivateForm::__construct function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Constructs a new WorkspaceActivateForm.
WorkspaceAssociation class core/modules/workspaces/src/WorkspaceAssociation.php Provides a class for CRUD operations on workspace associations.
WorkspaceAssociation.php file core/modules/workspaces/src/WorkspaceAssociation.php
WorkspaceAssociation::$database property core/modules/workspaces/src/WorkspaceAssociation.php The database connection.
WorkspaceAssociation::$entityTypeManager property core/modules/workspaces/src/WorkspaceAssociation.php The entity type manager.
WorkspaceAssociation::$workspaceRepository property core/modules/workspaces/src/WorkspaceAssociation.php The workspace repository service.
WorkspaceAssociation::deleteAssociations function core/modules/workspaces/src/WorkspaceAssociation.php Deletes all the workspace association records for the given workspace.
WorkspaceAssociation::getAssociatedRevisions function core/modules/workspaces/src/WorkspaceAssociation.php Retrieves all content revisions tracked by a given workspace.
WorkspaceAssociation::getEntityTrackingWorkspaceIds function core/modules/workspaces/src/WorkspaceAssociation.php Gets a list of workspace IDs in which an entity is tracked.
WorkspaceAssociation::getTrackedEntities function core/modules/workspaces/src/WorkspaceAssociation.php Retrieves the entities tracked by a given workspace.
WorkspaceAssociation::initializeWorkspace function core/modules/workspaces/src/WorkspaceAssociation.php Initializes a workspace with all the associations of its parent.
WorkspaceAssociation::postPublish function core/modules/workspaces/src/WorkspaceAssociation.php Triggers clean-up operations after publishing a workspace.
WorkspaceAssociation::TABLE constant core/modules/workspaces/src/WorkspaceAssociation.php The table for the workspace association storage.
WorkspaceAssociation::trackEntity function core/modules/workspaces/src/WorkspaceAssociation.php Updates or creates the association for a given entity and a workspace.
WorkspaceAssociation::workspaceInsert function core/modules/workspaces/src/WorkspaceAssociation.php Responds to the creation of a new workspace entity.
WorkspaceAssociation::__construct function core/modules/workspaces/src/WorkspaceAssociation.php Constructs a WorkspaceAssociation object.
WorkspaceAssociationInterface interface core/modules/workspaces/src/WorkspaceAssociationInterface.php Defines an interface for the workspace_association service.
WorkspaceAssociationInterface.php file core/modules/workspaces/src/WorkspaceAssociationInterface.php

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