You are here

public function WorkspacePublisher::getDifferringRevisionIdsOnSource in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getDifferringRevisionIdsOnSource()
  2. 9 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getDifferringRevisionIdsOnSource()

File

core/modules/workspaces/src/WorkspacePublisher.php, line 188

Class

WorkspacePublisher
Default implementation of the workspace publisher.

Namespace

Drupal\workspaces

Code

public function getDifferringRevisionIdsOnSource() {

  // Get the Workspace association revisions which haven't been pushed yet.
  return $this->workspaceAssociation
    ->getTrackedEntities($this->sourceWorkspace
    ->id());
}