function WorkspaceOperationInterface::getNumberOfChangesOnSource
Same name in other branches
- 9 core/modules/workspaces/src/WorkspaceOperationInterface.php \Drupal\workspaces\WorkspaceOperationInterface::getNumberOfChangesOnSource()
- 8.9.x core/modules/workspaces/src/WorkspaceOperationInterface.php \Drupal\workspaces\WorkspaceOperationInterface::getNumberOfChangesOnSource()
- 10 core/modules/workspaces/src/WorkspaceOperationInterface.php \Drupal\workspaces\WorkspaceOperationInterface::getNumberOfChangesOnSource()
Gets the total number of items which have changed on the source.
This returns the aggregated changes count across all entity types. For example, if two nodes and one taxonomy term have changed on the source, the return value is 3.
Return value
int The number of differing revisions.
2 methods override WorkspaceOperationInterface::getNumberOfChangesOnSource()
- WorkspaceMerger::getNumberOfChangesOnSource in core/
modules/ workspaces/ src/ WorkspaceMerger.php - WorkspacePublisher::getNumberOfChangesOnSource in core/
modules/ workspaces/ src/ WorkspacePublisher.php - Gets the total number of items which have changed on the source.
File
-
core/
modules/ workspaces/ src/ WorkspaceOperationInterface.php, line 80
Class
- WorkspaceOperationInterface
- Defines an interface for workspace operations.
Namespace
Drupal\workspacesCode
public function getNumberOfChangesOnSource();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.