function WorkspacePublisher::getNumberOfChangesOnTarget
Same name in other branches
- 9 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getNumberOfChangesOnTarget()
- 8.9.x core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getNumberOfChangesOnTarget()
- 10 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getNumberOfChangesOnTarget()
Overrides WorkspaceOperationInterface::getNumberOfChangesOnTarget
File
-
core/
modules/ workspaces/ src/ WorkspacePublisher.php, line 164
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.