Skip to content

Commit

Permalink
Removed Module handler function
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire committed Jan 23, 2025
1 parent 8baaa81 commit 9e4c2ec
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions modules/apigee_edge_teams/apigee_edge_teams.module
Original file line number Diff line number Diff line change
Expand Up @@ -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().
Expand Down

0 comments on commit 9e4c2ec

Please sign in to comment.