interface ConflictAncestorResolverInterface in Conflict 8
Provides an interface for defining LCA resolver entities.
Hierarchy
- interface \Drupal\conflict\ConflictAncestorResolverInterface
Expanded class hierarchy of ConflictAncestorResolverInterface
All classes that implement ConflictAncestorResolverInterface
File
- src/
ConflictAncestorResolverInterface.php, line 13
Namespace
Drupal\conflictView source
interface ConflictAncestorResolverInterface {
/**
* @return bool
* TRUE if condition defined in services applies on it else FALSE.
*/
public function applies();
/**
* Resolves conflicts between different revisions.
*
* @param \Drupal\Core\Entity\RevisionableInterface $revision1
* @param \Drupal\Core\Entity\RevisionableInterface $revision2
* @param \Fhaculty\Graph\Graph|NULL $graph
*
* @return mixed
*/
public function resolve(RevisionableInterface $revision1, RevisionableInterface $revision2, Graph $graph = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConflictAncestorResolverInterface:: |
public | function | 1 | |
ConflictAncestorResolverInterface:: |
public | function | Resolves conflicts between different revisions. | 1 |