You are here

function apigee_edge_module_implements_alter in Apigee Edge 8

Implements hook_module_implements_alter().

File

./apigee_edge.module, line 69
Copyright 2018 Google Inc.

Code

function apigee_edge_module_implements_alter(&$implementations, $hook) {
  if (in_array($hook, [
    'form_user_register_form_alter',
    'form_user_form_alter',
  ])) {

    // Move apigee_edge_form_user_register_form_alter() and
    // apigee_edge_form_user_form_alter() alter hook implementations to the
    // end of the list.
    $group = $implementations['apigee_edge'];
    unset($implementations['apigee_edge']);
    $implementations['apigee_edge'] = $group;
  }
}