You are here

function hook_conflict_paths_alter in Conflict 8.2

Alter the conflict paths before the conflict resolution has started.

Parameters

array $conflict_paths: The conflict paths, keyed by the conflict path and having as value the entity metadata consisting of -entity_type -entity_id

\Drupal\Core\Form\FormStateInterface $form_state: The main form state.

1 invocation of hook_conflict_paths_alter()
ContentEntityConflictHandler::entityMainFormValidateLast in src/Entity/ContentEntityConflictHandler.php
Form level validation handler running after all others.

File

./conflict.api.php, line 32
Hooks and documentation related to conflict module.

Code

function hook_conflict_paths_alter(array &$conflict_paths, \Drupal\Core\Form\FormStateInterface $form_state) {
}