You are here

public function ConflictTracker::resolve in Multiversion 8.2

@inheritDoc

Overrides ConflictTrackerInterface::resolve

File

src/Conflict/ConflictTracker.php, line 86

Class

ConflictTracker
The Conflict Tracker service.

Namespace

Drupal\multiversion\Conflict

Code

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