Skip to content

Commit 2084c7d

Browse files
authored
Fix issue \Drupal::$container is not initialized yet (#1128)
1 parent fbcd393 commit 2084c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/apigee_edge_teams/apigee_edge_teams.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use Drupal\Core\Url;
4040
* Implements hook_module_implements_alter().
4141
*/
4242
function apigee_edge_teams_module_implements_alter(&$implementations, $hook) {
43-
if (\Drupal::moduleHandler()->moduleExists('devel') && $hook === 'entity_type_alter') {
43+
if ($hook === 'entity_type_alter') {
4444
// Move apigee_edge_teams_entity_type_alter() to the end of the list if
4545
// Devel module is enabled.
4646
// @see devel_entity_type_alter()

0 commit comments

Comments
 (0)