You are here

protected function ConflictResolutionDialogFormBuilder::getEntityConflictHandler in Conflict 8.2

Returns the entity conflict handler for the given entity type.

Parameters

string $entity_type_id: The entity type ID.

Return value

\Drupal\conflict\Entity\EntityConflictHandlerInterface

File

src/Form/ConflictResolutionDialogFormBuilder.php, line 431

Class

ConflictResolutionDialogFormBuilder

Namespace

Drupal\conflict\Form

Code

protected function getEntityConflictHandler($entity_type_id) {
  return $this->entityTypeManager
    ->getHandler($entity_type_id, 'conflict.resolution_handler');
}