public function EntityConflictHandlerInterface::prepareConflictResolution in Conflict 8.2
Prepares the entity for the manual conflict resolution.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The current entity.
\Drupal\Core\Entity\EntityInterface $entity_server: (optional) The server entity i.e. the current entity from the storage or NULL if the entity has been deleted or in case of inline reference the relationship was removed.
1 method overrides EntityConflictHandlerInterface::prepareConflictResolution()
- ContentEntityConflictHandler::prepareConflictResolution in src/
Entity/ ContentEntityConflictHandler.php - Prepares the entity for the manual conflict resolution.
File
- src/
Entity/ EntityConflictHandlerInterface.php, line 93
Class
Namespace
Drupal\conflict\EntityCode
public function prepareConflictResolution(EntityInterface $entity, EntityInterface $entity_server = NULL);