Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

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

File

core/core.api.php, line 1518

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
WorkflowStateDeleteForm class Drupal\workflows\Form core/modules/workflows/src/Form/WorkflowStateDeleteForm.php Builds the form to delete states from Workflow entities. 1 1
WorkflowStateEditForm class Drupal\workflows\Form core/modules/workflows/src/Form/WorkflowStateEditForm.php Entity form variant for editing workflow states. 1
WorkflowStateTransitionOperationsAccessCheck class Drupal\workflows core/modules/workflows/src/WorkflowStateTransitionOperationsAccessCheck.php Provides an access check for state and transition operations. 2
WorkflowTransitionAddForm class Drupal\workflows\Form core/modules/workflows/src/Form/WorkflowTransitionAddForm.php Entity form variant for adding workflow transitions. 1
WorkflowTransitionDeleteForm class Drupal\workflows\Form core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php Builds the form to delete transitions from Workflow entities. 1 1
WorkflowTransitionEditForm class Drupal\workflows\Form core/modules/workflows/src/Form/WorkflowTransitionEditForm.php Entity form variant for editing workflow transitions. 1
WorkflowType class Drupal\workflows\Annotation core/modules/workflows/src/Annotation/WorkflowType.php Defines a Workflow type annotation object.
WorkflowType class Drupal\workflows\Attribute core/modules/workflows/src/Attribute/WorkflowType.php Defines a Workflow type attribute object. 2
WorkflowTypeBase abstract class Drupal\workflows\Plugin core/modules/workflows/src/Plugin/WorkflowTypeBase.php A base class for Workflow type plugins. 1 1
WorkflowTypeConfigureFormBase abstract class Drupal\workflows\Plugin core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php A base class for workflow type configuration forms. 1 1
WorkflowTypeInterface interface Drupal\workflows core/modules/workflows/src/WorkflowTypeInterface.php An interface for Workflow type plugins. 2 3 1
WorkflowTypeManager class Drupal\workflows core/modules/workflows/src/WorkflowTypeManager.php Provides a Workflow type plugin manager. 2
WorkflowTypeStateFormBase abstract class Drupal\workflows\Plugin core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php A base class for workflow type state forms. 1 1
WorkflowTypeTransitionFormBase abstract class Drupal\workflows\Plugin core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php A base class for workflow type transition forms.
Workspace class Drupal\workspaces\Entity core/modules/workspaces/src/Entity/Workspace.php The workspace entity class. 1
WorkspaceAccessControlHandler class Drupal\workspaces core/modules/workspaces/src/WorkspaceAccessControlHandler.php Defines the access control handler for the workspace entity type. 1
WorkspaceAccessException class Drupal\workspaces core/modules/workspaces/src/WorkspaceAccessException.php Exception thrown when trying to switch to an inaccessible workspace. 1 3
WorkspaceActivateForm class Drupal\workspaces\Form core/modules/workspaces/src/Form/WorkspaceActivateForm.php Handle activation of a workspace on administrative pages. 1
WorkspaceAssociation class Drupal\workspaces core/modules/workspaces/src/WorkspaceAssociation.php Provides a class for CRUD operations on workspace associations. 2 2
WorkspaceAssociationInterface interface Drupal\workspaces core/modules/workspaces/src/WorkspaceAssociationInterface.php Defines an interface for the workspace_association service. 1 3
WorkspaceCacheContext class Drupal\workspaces core/modules/workspaces/src/WorkspaceCacheContext.php Defines the WorkspaceCacheContext service, for "per workspace" caching. 2
WorkspaceConflictException class Drupal\workspaces core/modules/workspaces/src/WorkspaceConflictException.php An exception thrown when two workspaces are in a conflicting content state.
WorkspaceDeleteForm class Drupal\workspaces\Form core/modules/workspaces/src/Form/WorkspaceDeleteForm.php Provides a form for deleting a workspace. 1
WorkspaceDynamicSafeFormInterface interface Drupal\Core\Form core/lib/Drupal/Core/Form/WorkspaceDynamicSafeFormInterface.php Defines an interface for forms that can be workspace-safe. 10 12
WorkspaceForm class Drupal\workspaces\Form core/modules/workspaces/src/Form/WorkspaceForm.php Form controller for the workspace edit forms. 1
WorkspaceHandlerInterface interface Drupal\workspaces\Entity\Handler core/modules/workspaces/src/Entity/Handler/WorkspaceHandlerInterface.php Defines workspace operations that need to vary by entity type. 2
WorkspaceIdNegotiatorInterface interface Drupal\workspaces\Negotiator core/modules/workspaces/src/Negotiator/WorkspaceIdNegotiatorInterface.php Interface for workspace negotiators that return only the negotiated ID. 1
WorkspaceInformation class Drupal\workspaces core/modules/workspaces/src/WorkspaceInformation.php General service for workspace support information. 2
WorkspaceInformationInterface interface Drupal\workspaces core/modules/workspaces/src/WorkspaceInformationInterface.php Provides an interface for workspace-support information. 1 6
WorkspaceInterface interface Drupal\workspaces core/modules/workspaces/src/WorkspaceInterface.php Defines an interface for the workspace entity type. 1 6
WorkspaceListBuilder class Drupal\workspaces core/modules/workspaces/src/WorkspaceListBuilder.php Defines a class to build a listing of workspace entities. 1
WorkspaceManager class Drupal\workspaces core/modules/workspaces/src/WorkspaceManager.php Provides the workspace manager. 2
WorkspaceManagerInterface interface Drupal\workspaces core/modules/workspaces/src/WorkspaceManagerInterface.php Provides an interface for managing Workspaces. 1 11
WorkspaceMergeForm class Drupal\workspaces\Form core/modules/workspaces/src/Form/WorkspaceMergeForm.php Provides a form that merges the contents for a workspace into another one. 1
WorkspaceMerger class Drupal\workspaces core/modules/workspaces/src/WorkspaceMerger.php Default implementation of the workspace merger.
WorkspaceMergerInterface interface Drupal\workspaces core/modules/workspaces/src/WorkspaceMergerInterface.php Defines an interface for the workspace merger. 1
WorkspaceNegotiatorInterface interface Drupal\workspaces\Negotiator core/modules/workspaces/src/Negotiator/WorkspaceNegotiatorInterface.php Workspace negotiators provide a way to get the active workspace. 1
WorkspaceOperationFactory class Drupal\workspaces core/modules/workspaces/src/WorkspaceOperationFactory.php Defines a factory class for workspace operations. 2 2
WorkspaceOperationInterface interface Drupal\workspaces core/modules/workspaces/src/WorkspaceOperationInterface.php Defines an interface for workspace operations. 2
WorkspacePostPublishEvent class Drupal\workspaces\Event core/modules/workspaces/src/Event/WorkspacePostPublishEvent.php Defines the post-publish event class. 2
WorkspacePrePublishEvent class Drupal\workspaces\Event core/modules/workspaces/src/Event/WorkspacePrePublishEvent.php Defines the pre-publish event class. 2
WorkspacePublisher class Drupal\workspaces core/modules/workspaces/src/WorkspacePublisher.php Default implementation of the workspace publisher.
WorkspacePublisherInterface interface Drupal\workspaces core/modules/workspaces/src/WorkspacePublisherInterface.php Defines an interface for the workspace publisher. 1
WorkspacePublishEvent abstract class Drupal\workspaces\Event core/modules/workspaces/src/Event/WorkspacePublishEvent.php Defines the workspace publish event. 2 2
WorkspacePublishException class Drupal\workspaces core/modules/workspaces/src/WorkspacePublishException.php An exception thrown when a workspace can not be published.
WorkspacePublishForm class Drupal\workspaces\Form core/modules/workspaces/src/Form/WorkspacePublishForm.php Provides the workspace publishing form. 1
WorkspaceRepository class Drupal\workspaces core/modules/workspaces/src/WorkspaceRepository.php Provides the default workspace tree lookup operations. 2
WorkspaceRepositoryInterface interface Drupal\workspaces core/modules/workspaces/src/WorkspaceRepositoryInterface.php Provides an interface for workspace tree lookup operations. 1 1
WorkspaceRequestSubscriber class Drupal\workspaces\EventSubscriber core/modules/workspaces/src/EventSubscriber/WorkspaceRequestSubscriber.php Provides a event subscriber for setting workspace-specific cache keys. 2
WorkspaceSafeFormInterface interface Drupal\Core\Form core/lib/Drupal/Core/Form/WorkspaceSafeFormInterface.php Defines an interface for forms that are safe to be submitted in a workspace. 13 15

Pagination

  • First page
  • Previous page
  • …
  • Page 207
  • Page 208
  • Page 209
  • Page 210
  • Page 211
  • Page 212
  • Page 213
  • Page 214
  • Page 215
  • Next page
  • Last page
RSS feed
Powered by Drupal