Primary tabs
Introduction to classes
A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.
See also
Objected-oriented programming conventions
Name | Type | Namespace | Location | Description | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|
WorkspacesAliasRepository | class |
Drupal\ |
core/ |
Provides workspace-specific path alias lookup queries. | |||
WorkspaceSafeFormInterface | interface |
Drupal\ |
core/ |
Defines an interface for forms that are safe to be submitted in a workspace. | 9 | 10 | |
WorkspaceResourceTestBase | abstract class |
Drupal\ |
core/ |
Base class for workspace EntityResource tests. | 6 | ||
WorkspaceRequestSubscriberTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\workspaces\EventSubscriber\WorkspaceRequestSubscriber | |||
WorkspaceRepositoryInterface | interface |
Drupal\ |
core/ |
Provides an interface for workspace tree lookup operations. | 1 | 1 | |
WorkspaceRepository | class |
Drupal\ |
core/ |
Provides the default workspace tree lookup operations. | 2 | ||
WorkspacePublishFormTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\workspaces\Form\WorkspacePublishForm @group workspaces | |||
WorkspacePublishForm | class |
Drupal\ |
core/ |
Provides the workspace publishing form. | 1 | 1 | |
WorkspacePublishException | class |
Drupal\ |
core/ |
An exception thrown when a workspace can not be published. | 2 | ||
WorkspacePublisherInterface | interface |
Drupal\ |
core/ |
Defines an interface for the workspace publisher. | 1 | ||
WorkspacePrePublishEvent | class |
Drupal\ |
core/ |
Defines the pre-publish event class. | |||
WorkspacePostPublishEvent | class |
Drupal\ |
core/ |
Defines the post-publish event class. | |||
WorkspacePermissionsTest | class |
Drupal\ |
core/ |
Tests permission controls on workspaces. | |||
WorkspaceOperationInterface | interface |
Drupal\ |
core/ |
Defines an interface for workspace operations. | 2 | ||
WorkspaceNegotiatorInterface | interface |
Drupal\ |
core/ |
Workspace negotiators provide a way to get the active workspace. | 2 | 1 | |
WorkspaceMergerTest | class |
Drupal\ |
core/ |
Tests workspace merging. | |||
WorkspaceMergerInterface | interface |
Drupal\ |
core/ |
Defines an interface for the workspace merger. | |||
WorkspaceMergeForm | class |
Drupal\ |
core/ |
Provides a form that merges the contents for a workspace into another one. | 1 | ||
WorkspaceMenuLinkContentIntegrationTest | class |
Drupal\ |
core/ |
Tests workspace integration for custom menu links. | |||
WorkspaceManagerInterface | interface |
Drupal\ |
core/ |
Provides an interface for managing Workspaces. | 8 | ||
WorkspaceListBuilder | class |
Drupal\ |
core/ |
Defines a class to build a listing of workspace entities. | |||
WorkspaceJsonCookieTest | class |
Drupal\ |
core/ |
Test workspace entities for JSON requests with cookie authentication. | |||
WorkspaceJsonBasicAuthTest | class |
Drupal\ |
core/ |
Test workspace entities for JSON requests via basic auth. | |||
WorkspaceJsonAnonTest | class |
Drupal\ |
core/ |
Test workspace entities for unauthenticated JSON requests. | |||
WorkspaceInterface | interface |
Drupal\ |
core/ |
Defines an interface for the workspace entity type. | 1 | 8 | |
WorkspaceIntegrationTest | class |
Drupal\ |
core/ |
Tests a complete publishing scenario across different workspaces. | |||
WorkspaceInformationTest | class |
Drupal\ |
core/ |
Tests the workspace information service. | |||
WorkspaceInformationInterface | interface |
Drupal\ |
core/ |
Provides an interface for workspace-support information. | 3 | ||
WorkspaceHandlerInterface | interface |
Drupal\ |
core/ |
Defines workspace operations that need to vary by entity type. | 2 | ||
WorkspaceFormInterface Deprecated | interface |
Drupal\ |
core/ |
Defines interface for workspace forms so they can be easily distinguished. | |||
WorkspaceEntityDeleteTest | class |
Drupal\ |
core/ |
Tests entity deletions with workspaces. | |||
WorkspaceEntityDeleteTest | class |
Drupal\ |
core/ |
Tests entity deletions with workspaces. | |||
WorkspaceDynamicSafeFormInterface | interface |
Drupal\ |
core/ |
Defines an interface for forms that can be workspace-safe. | 8 | 9 | |
WorkspaceDeleteForm | class |
Drupal\ |
core/ |
Provides a form for deleting a workspace. | |||
WorkspaceCRUDTest | class |
Drupal\ |
core/ |
Tests CRUD operations for workspaces. | |||
WorkspaceContentTranslationTest | class |
Drupal\ |
core/ |
Tests entity translations with workspaces. | |||
WorkspaceConflictException | class |
Drupal\ |
core/ |
An exception thrown when two workspaces are in a conflicting content state. | |||
WorkspaceConcurrentEditingTest | class |
Drupal\ |
core/ |
Tests concurrent edits in different workspaces. | |||
WorkspaceCacheContextTest | class |
Drupal\ |
core/ |
Tests the workspace cache context. | |||
WorkspaceCacheContext | class |
Drupal\ |
core/ |
Defines the WorkspaceCacheContext service, for "per workspace" caching. | 1 | 2 | |
WorkspaceBypassTest | class |
Drupal\ |
core/ |
Tests access bypass permission controls on workspaces. | |||
WorkspaceAssociationTest | class |
Drupal\ |
core/ |
Tests workspace associations. | |||
WorkspaceAssociationInterface | interface |
Drupal\ |
core/ |
Defines an interface for the workspace_association service. | 1 | ||
WorkspaceAssociationDeprecationTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\workspaces\WorkspaceAssociation @group legacy | |||
WorkspaceActivateForm | class |
Drupal\ |
core/ |
Handle activation of a workspace on administrative pages. | |||
WorkspaceAccessTest | class |
Drupal\ |
core/ |
Tests access on workspaces. | |||
WorkspaceAccessException | class |
Drupal\ |
core/ |
Exception thrown when trying to switch to an inaccessible workspace. | 1 | 3 | |
WorkspaceAccessControlHandler | class |
Drupal\ |
core/ |
Defines the access control handler for the workspace entity type. | |||
Workspace | class |
Drupal\ |
core/ |
The workspace entity class. | 22 | ||
WorkflowXmlCookieTest | class |
Drupal\ |
core/ |
@group rest |