You are here

public function EntityConflictHandlerInterface::getConflicts in Conflict 8.2

Returns the entity conflicts.

Parameters

\Drupal\Core\Entity\EntityInterface $entity_local_original: The locally edited entity.

\Drupal\Core\Entity\EntityInterface $entity_local_edited: The original not edited entity used to build the form.

\Drupal\Core\Entity\EntityInterface $entity_server: The unchanged entity loaded from the storage.

Return value

array An array of conflicts, keyed by the field name having as value the conflict type.

1 method overrides EntityConflictHandlerInterface::getConflicts()
ContentEntityConflictHandler::getConflicts in src/Entity/ContentEntityConflictHandler.php
Returns the entity conflicts.

File

src/Entity/EntityConflictHandlerInterface.php, line 69

Class

EntityConflictHandlerInterface

Namespace

Drupal\conflict\Entity

Code

public function getConflicts(EntityInterface $entity_local_original, EntityInterface $entity_local_edited, EntityInterface $entity_server);