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.
Problem/Motivation
media_install() contains this code
if (\Drupal::moduleHandler()->moduleExists('media_entity')) {
$info = \Drupal::service('extension.list.module')->getExtensionInfo('media_entity');
if (version_compare($info['version'], '8.x-2') < 0) {
This can be safely removed as Media Entity cannot run in Drupal 9 because of a missing core_version_requirement
in media_entity.info.yml
: https://git.drupalcode.org/project/media_entity/-/blob/8.x-1.x/media_ent...
Steps to reproduce
Proposed resolution
Remove this check.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#3 | 3254198-3.patch | 1.17 KB | longwave |
Comments
Comment #2
longwaveComment #3
longwaveComment #4
joachim CreditAttribution: joachim at Factorial GmbH commentedGood clean-up!
Comment #7
catchCommitted 637ccc1 and pushed to 10.0.x. Thanks! Cherry-picked to 9.4.x too.