diff --git a/modules/apigee_edge_teams/apigee_edge_teams.module b/modules/apigee_edge_teams/apigee_edge_teams.module index 70c554b2..87a2e5f8 100644 --- a/modules/apigee_edge_teams/apigee_edge_teams.module +++ b/modules/apigee_edge_teams/apigee_edge_teams.module @@ -39,16 +39,16 @@ use Drupal\Core\Url; /** * Implements hook_module_implements_alter(). */ -// 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; -// } -// } +function apigee_edge_teams_module_implements_alter(&$implementations, $hook) { + if ($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; + } +} /** * Implements hook_entity_type_alter().