You are here

interface WorkspacePublisherInterface in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/WorkspacePublisherInterface.php \Drupal\workspaces\WorkspacePublisherInterface

Defines an interface for the workspace publisher.

@internal

Hierarchy

Expanded class hierarchy of WorkspacePublisherInterface

All classes that implement WorkspacePublisherInterface

File

core/modules/workspaces/src/WorkspacePublisherInterface.php, line 10

Namespace

Drupal\workspaces
View source
interface WorkspacePublisherInterface extends WorkspaceOperationInterface {

  /**
   * Publishes the contents of a workspace to the default (Live) workspace.
   */
  public function publish();

}

Members

Namesort descending Modifiers Type Description Overrides
WorkspaceOperationInterface::checkConflictsOnTarget public function Checks if there are any conflicts between the source and the target. 2
WorkspaceOperationInterface::getDifferringRevisionIdsOnSource public function Gets the revision identifiers for items which have changed on the source. 2
WorkspaceOperationInterface::getDifferringRevisionIdsOnTarget public function Gets the revision identifiers for items which have changed on the target. 2
WorkspaceOperationInterface::getNumberOfChangesOnSource public function Gets the total number of items which have changed on the source. 2
WorkspaceOperationInterface::getNumberOfChangesOnTarget public function Gets the total number of items which have changed on the target. 2
WorkspaceOperationInterface::getSourceLabel public function Returns the human-readable label of the source. 2
WorkspaceOperationInterface::getTargetLabel public function Returns the human-readable label of the target. 2
WorkspacePublisherInterface::publish public function Publishes the contents of a workspace to the default (Live) workspace. 1