public function ConflictAncestorResolverInterface::resolve in Conflict 8
Resolves conflicts between different revisions.
Parameters
\Drupal\Core\Entity\RevisionableInterface $revision1:
\Drupal\Core\Entity\RevisionableInterface $revision2:
\Fhaculty\Graph\Graph|NULL $graph:
Return value
mixed
1 method overrides ConflictAncestorResolverInterface::resolve()
- SimpleLcaResolver::resolve in src/
SimpleLcaResolver.php - Finds the smallest revision id and calculates it's parent
File
- src/
ConflictAncestorResolverInterface.php, line 30
Class
- ConflictAncestorResolverInterface
- Provides an interface for defining LCA resolver entities.
Namespace
Drupal\conflictCode
public function resolve(RevisionableInterface $revision1, RevisionableInterface $revision2, Graph $graph = NULL);