public function WorkspacePublisher::getNumberOfChangesOnTarget in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getNumberOfChangesOnTarget()
- 9 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getNumberOfChangesOnTarget()
File
- core/
modules/ workspaces/ src/ WorkspacePublisher.php, line 196
Class
- WorkspacePublisher
- Default implementation of the workspace publisher.
Namespace
Drupal\workspacesCode
public function getNumberOfChangesOnTarget() {
$total_changes = $this
->getDifferringRevisionIdsOnTarget();
return count($total_changes, COUNT_RECURSIVE) - count($total_changes);
}