Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
ModuleHandlerInterface::getImplementations() is deprecated 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.
ModuleHandlerInterface::implementsHook() is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Instead you should use ModuleHandlerInterface::hasImplementations() with the $modules argument.
Steps to reproduce
Proposed resolution
Remove all references from Drupal 10.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3293075-2.patch | 5.36 KB | longwave |
|
Comments
Comment #2
longwaveComment #3
catchLooks great!
Comment #4
longwaveComment #5
alexpottCommitted and pushed fbc8bd2d01 to 10.1.x and 356d019201 to 10.0.x. Thanks!