function WorkspaceOperationInterface::checkConflictsOnTarget

Same name and namespace in other branches
  1. 9 core/modules/workspaces/src/WorkspaceOperationInterface.php \Drupal\workspaces\WorkspaceOperationInterface::checkConflictsOnTarget()
  2. 8.9.x core/modules/workspaces/src/WorkspaceOperationInterface.php \Drupal\workspaces\WorkspaceOperationInterface::checkConflictsOnTarget()
  3. 10 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\workspaces

Code

public function checkConflictsOnTarget();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.