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.

Screenshot of the Project information section with Compatible with Drupal 9 highlighted

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

CommentFileSizeAuthor
#3 3111531-1.patch375 bytesRaphMo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jenlampton created an issue. See original summary.

jenlampton’s picture

Issue summary: View changes

Add info.yml example

RaphMo’s picture

Status: Active » Needs review
FileSize
375 bytes

Hello,

Here is the patch adding Drupal 9 in the core_version_requirement key.

MattKD’s picture

Status: Needs review » Reviewed & tested by the community

I 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.

  • vimaljoseph committed 50765f2 on 8.x-1.x authored by RaphMo
    Issue #3111531: Add Drupal 9 into the require section of composer.json
    
vimaljoseph’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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