Skip to content

Commit

Permalink
Merge pull request #2 from apigee/4.x
Browse files Browse the repository at this point in the history
Fix issue \Drupal::$container is not initialized yet (apigee#1128)
  • Loading branch information
kedarkhaire authored Jan 29, 2025
2 parents fbcd393 + 2084c7d commit bf06d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apigee_edge_teams/apigee_edge_teams.module
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ 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') {
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()
Expand Down

0 comments on commit bf06d71

Please sign in to comment.