Problem/Motivation
Based on this fixed issue, it looks like Disable Messages is ready for Drupal 9!
I believe that if you add drupal 9 as an option to the composer.json
file in this project you can get a nice little Compatible with Drupal 9 badge in the Project information section on the module page.
Below is a code sample from a module that has the badge.
"require": {
"php": "^7.1",
"drupal/core": "^8.7 || ^9"
},
It also looks like it may possible to get the badge by adding the 'core_version_requirement' key in the modules info.yml file, which, in turn, will add the version to the require section ofcomposer.json. Example follows.
core_version_requirement: ^8 || ^9
Remaining tasks
* Update composer.json, or
* Update the info.yml file
Comment | File | Size | Author |
---|---|---|---|
#3 | 3111531-1.patch | 375 bytes | RaphMo |
Comments
Comment #2
jenlamptonAdd info.yml example
Comment #3
RaphMoHello,
Here is the patch adding Drupal 9 in the core_version_requirement key.
Comment #4
MattKD CreditAttribution: MattKD at Chromatic commentedI have tested the patch in #3 and it applies correctly and the core_version_requirement update looks good.
I believe this is good to go once the deprecation fixes in #3075348: Remove deprecated functions are merged.
Comment #6
vimaljoseph CreditAttribution: vimaljoseph at Zyxware Technologies for Drupal Association commented