You are here

function apigee_edge_teams_module_implements_alter in Apigee Edge 8

Implements hook_module_implements_alter().

File

modules/apigee_edge_teams/apigee_edge_teams.module, line 42
Copyright 2018 Google Inc.

Code

function apigee_edge_teams_module_implements_alter(&$implementations, $hook) {
  if (\Drupal::moduleHandler()
    ->moduleExists('devel') && $hook === 'entity_type_alter') {

    // Move apigee_edge_teams_entity_type_alter() to the end of the list if
    // Devel module is enabled.
    // @see devel_entity_type_alter()
    $group = $implementations['apigee_edge_teams'];
    unset($implementations['apigee_edge_teams']);
    $implementations['apigee_edge_teams'] = $group;
  }
}