Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #2410153: drupal_render is deprecated so it has to be removed
Problem/Motivation
According to https://api.drupal.org/api/drupal/core!includes!bootstrap.inc/function/m... module_implements
is deprecated. xmlsitemap still uses module_implements
in its .module file.
Proposed resolution
change it to \Drupal::moduleHandler()->getImplementations($hook);
Remaining tasks
Create a patch.
Review.
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
module_implements-deprecated.patch | 544 bytes | tadityar | |
Comments
Comment #2
tadityar CreditAttribution: tadityar commented