function WorkspacePublisher::getDifferringRevisionIdsOnSource
Same name in other branches
- 9 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getDifferringRevisionIdsOnSource()
- 10 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getDifferringRevisionIdsOnSource()
- 11.x core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getDifferringRevisionIdsOnSource()
Overrides WorkspaceOperationInterface::getDifferringRevisionIdsOnSource
2 calls to WorkspacePublisher::getDifferringRevisionIdsOnSource()
- WorkspacePublisher::getNumberOfChangesOnSource in core/
modules/ workspaces/ src/ WorkspacePublisher.php - Gets the total number of items which have changed on the source.
- WorkspacePublisher::publish in core/
modules/ workspaces/ src/ WorkspacePublisher.php - Publishes the contents of a workspace to the default (Live) workspace.
File
-
core/
modules/ workspaces/ src/ WorkspacePublisher.php, line 185
Class
- WorkspacePublisher
- Default implementation of the workspace publisher.
Namespace
Drupal\workspacesCode
public function getDifferringRevisionIdsOnSource() {
// Get the Workspace association revisions which haven't been pushed yet.
return $this->workspaceAssociation
->getTrackedEntities($this->sourceWorkspace
->id());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.