interface WorkspaceMergerInterface

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceMergerInterface.php \Drupal\workspaces\WorkspaceMergerInterface
  2. 10 core/modules/workspaces/src/WorkspaceMergerInterface.php \Drupal\workspaces\WorkspaceMergerInterface
  3. 11.x core/modules/workspaces/src/WorkspaceMergerInterface.php \Drupal\workspaces\WorkspaceMergerInterface

Defines an interface for the workspace merger.

@internal

Hierarchy

Expanded class hierarchy of WorkspaceMergerInterface

All classes that implement WorkspaceMergerInterface

File

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

Namespace

Drupal\workspaces
View source
interface WorkspaceMergerInterface extends WorkspaceOperationInterface {
    
    /**
     * Merges the contents of the source workspace into the target workspace.
     */
    public function merge();

}

Members

Title Sort descending Modifiers Object type Summary Overrides
WorkspaceMergerInterface::merge public function Merges the contents of the source workspace into the target workspace. 1
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

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