public function LiveRepositoryHandler::checkConflictsOnTarget in Workspace 8.2
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.
Overrides RepositoryHandlerInterface::checkConflictsOnTarget
1 call to LiveRepositoryHandler::checkConflictsOnTarget()
- LiveRepositoryHandler::push in src/
Plugin/ RepositoryHandler/ LiveRepositoryHandler.php - Pushes content from a source repository to a target repository.
File
- src/
Plugin/ RepositoryHandler/ LiveRepositoryHandler.php, line 156
Class
- LiveRepositoryHandler
- Defines a plugin which replicates content to the default (Live) workspace.
Namespace
Drupal\workspace\Plugin\RepositoryHandlerCode
public function checkConflictsOnTarget() {
// Nothing to do for now, we can not get to a conflicting state because an
// entity which is being edited in a workspace can not be edited in any
// other workspace.
}