Add core_version_requirement: ^8 || ^9 to info.yml to designate that the module is compatible with Drupal 9.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3128876-9.patch | 1.61 KB | cchiste |
| #8 | 3128876-8.patch | 2.37 KB | lakshmi chidambaram |
| #2 | 3128876-2.patch | 1.81 KB | ankush_03 |
Comments
Comment #2
ankush_03Comment #3
piyuesh23 commentedPatch looks good to me.
Comment #4
cchiste commentedI know this is for the 8.x branch but as there isn't a 9.x... #2 is failing to apply on Drupal 9.0.6 with generic Failed to apply error.
The issue seems to be in message_subscribe_example, all other modules install clean.
Comment #5
cchiste commentedComment #6
cchiste commentedUpdated patch to include message_subscribe_test, also removed deprecated 'core: 8.x'.
Comment #7
cchiste commentedLocally it says could not apply however the changes do apply (?) Same goes for using this patch link. Removed 'core: 8.x' as deprecated https://www.drupal.org/node/3070687
Comment #8
lakshmi chidambaram commented#8 Added a patch to remove core from .info and include core_version_requirement
Comment #9
cchiste commentedFinal submission, I swear. Apologies for the spam. This patch updates every module and sub-module (- examples) to remove the 'core:' constraint requirement and add the 'core_version_requirement'. Previous patches fail because of the additional `_examples` module that exists in the repo but does not get carried over when added to a project. Tested as applying cleanly to a local D 9.0.6 instance.
Comment #11
jhedstromThanks!