You are here

function conflict_paragraphs_module_implements_alter in Conflict 8.2

Implements hook_module_implements_alter().

File

modules/conflict_paragraphs/conflict_paragraphs.module, line 73

Code

function conflict_paragraphs_module_implements_alter(&$implementations, $hook) {

  // Move our hook_form_alter() implementation to the end of the list, so that
  // it runs after conflict_form_alter() in order to be able to unset what has
  // been unset by that function.
  if ($hook === 'form_alter') {
    $group = $implementations['conflict_paragraphs'];
    unset($implementations['conflict_paragraphs']);
    $implementations['conflict_paragraphs'] = $group;
  }
}