public function WorkspaceOperationInterface::checkConflictsOnTarget in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workspaces/src/WorkspaceOperationInterface.php \Drupal\workspaces\WorkspaceOperationInterface::checkConflictsOnTarget()
Checks if there are any conflicts between the source and the target.
Return value
array Returns an array consisting of the number of conflicts between the source and the target, keyed by the conflict type constant.
2 methods override WorkspaceOperationInterface::checkConflictsOnTarget()
- WorkspaceMerger::checkConflictsOnTarget in core/
modules/ workspaces/ src/ WorkspaceMerger.php - Checks if there are any conflicts between the source and the target.
- WorkspacePublisher::checkConflictsOnTarget in core/
modules/ workspaces/ src/ WorkspacePublisher.php - Checks if there are any conflicts between the source and the target.
File
- core/
modules/ workspaces/ src/ WorkspaceOperationInterface.php, line 38
Class
- WorkspaceOperationInterface
- Defines an interface for workspace operations.
Namespace
Drupal\workspacesCode
public function checkConflictsOnTarget();