You are here

public function ConflictTracker::resolve in Multiversion 8

@inheritDoc

Overrides ConflictTrackerInterface::resolve

File

src/Workspace/ConflictTracker.php, line 85

Class

ConflictTracker
The Conflict Tracker service.

Namespace

Drupal\multiversion\Workspace

Code

public function resolve($uuid, $revision_id) {
  $conflicts = $this
    ->keyValueStore()
    ->get($uuid);
  unset($conflicts[$revision_id]);
  $this
    ->keyValueStore()
    ->set($uuid, $conflicts);
}