ModuleHandlerInterface::getImplementations() is deprecated in D9.4 and removed in D10

Created on 1 March 2023, over 1 year ago
Updated 5 April 2024, 3 months ago

Problem/Motivation

Received the following output after running static analysis using Phan.

web/modules/contrib/pathauto/src/AliasUniquifier.php:133 PhanDeprecatedFunction 
Call to deprecated function \Drupal\Core\Extension\ModuleHandlerInterface::getImplementations() defined at web/core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php:191 
(Deprecated because: in drupal:9.4.0 and is removed from drupal:10.0.0. Instead you should use ModuleHandlerInterface::invokeAllWith() for hook invocations or you should use ModuleHandlerInterface::hasImplementations() to determine if hooks implementations exist.)

Please see https://www.drupal.org/node/3000490 →

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024