Adding both core and core_version_requirement with anything other than core_version_requirement: ^8 || ^9 will result in an exception.

For example, a module/theme that is compatible with Drupal 8 versions after Drupal 8.8.0 and also Drupal 9 will need to use the following line in its .info.yml file.

core_version_requirement: ^8.8 || ^9

In the rare occasions the module/theme is also compatible with Drupal 10, its .info.yml file should use the following line.

core_version_requirement: ^8.8 || ^9 || ^10
CommentFileSizeAuthor
#5 update-3375596.patch402 bytesharshita mehna
#2 3375596-2.patch357 bytesharshita mehna
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Harshita mehna created an issue. See original summary.

harshita mehna’s picture

Status: Active » Needs review
StatusFileSize
new357 bytes

Hello Maintainers,
I have provided a patch or an MR !4 to fix this issue.
Please review it.

Thanks!

avpaderno’s picture

Title: Do not allow core: 8.x in info.yml file. » Remove "core: 8.x" from the .info.yml file
Issue summary: View changes
harshita mehna’s picture

StatusFileSize
new402 bytes

I have updated the patch please review it.
Thanks.

dave reid’s picture

Title: Remove "core: 8.x" from the .info.yml file » Drop Drupal 8 support

dave reid’s picture

dave reid’s picture

dave reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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