interface WorkspacePublisherInterface

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/src/WorkspacePublisherInterface.php \Drupal\workspaces\WorkspacePublisherInterface
  2. 10 core/modules/workspaces/src/WorkspacePublisherInterface.php \Drupal\workspaces\WorkspacePublisherInterface
  3. 9 core/modules/workspaces/src/WorkspacePublisherInterface.php \Drupal\workspaces\WorkspacePublisherInterface
  4. 8.9.x 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

1 file declares its use of WorkspacePublisherInterface
WorkspacePublisherTest.php in core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php

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

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

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