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.
The drupal-check tool returns next deprecated errors in the module's tests. They need to be fixed.
------ --------------------------------------------------------------------------
Line examples.module
------ --------------------------------------------------------------------------
44 Call to deprecated function system_get_info():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal::service('extension.list.$type')->getExtensionInfo() or
\Drupal::service('extension.list.$type')->getAllInstalledInfo() instead.
------ --------------------------------------------------------------------------
Comment | File | Size | Author |
---|---|---|---|
#4 | fix_deprecations-3091376-4.patch | 529 bytes | alt.dev |
Comments
Comment #2
alt.dev CreditAttribution: alt.dev at DevBranch for Invotra Ltd commentedComment #3
alt.dev CreditAttribution: alt.dev at DevBranch for Invotra Ltd commentedComment #4
alt.dev CreditAttribution: alt.dev at DevBranch commentedI have created a patch which fixes the error.
Comment #5
alt.dev CreditAttribution: alt.dev at DevBranch commentedComment #7
valthebaldCommitted to 8.x-1.x, thank you!