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

CommentFileSizeAuthor
module_implements-deprecated.patch544 bytestadityar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

  • tadityar committed 4564b1a on 8.x-1.x
    Issue #2410165 by tadityar: module_implements is deprecated so it has to...
tadityar’s picture

Status: Needs review » Fixed

  • tadityar committed ddf6b69 on 8.x-1.x
    Issue #2410165 by tadityar: module_implements is deprecated so it has to...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.