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, without a line containing core.

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
#6 update-3370547.patch408 bytesharshita mehna
#2 3370547-2.patch362 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
new362 bytes
__i.am.prashant__’s picture

Hi @Harshita, I reviewed and applied your patch that removed core : '8.x' from info.yml file and now it looks fine.

avpaderno’s picture

Title: Do not allow core: 8.x in info.yml file. » Remove "core: 8.x" from the .info.yml file
Category: Bug report » Task
Issue summary: View changes

harshita mehna’s picture

StatusFileSize
new408 bytes

@apaderno, I have updated the patch please review it.

avpaderno’s picture

Version: 8.x-1.x-dev » 2.0.3
Status: Needs review » Needs work
Issue tags: +Needs reroll

The last patch is correct, but it should be provided for the 2.0.x branch.

bharath-kondeti made their first commit to this issue’s fork.

bharath-kondeti’s picture

Status: Needs work » Needs review
avpaderno’s picture

Issue tags: -Needs reroll

jeroent made their first commit to this issue’s fork.

jeroent’s picture

Status: Needs review » Fixed

Merged to 2.0.x. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • jeroent committed 526c63fe on 2.1.x
    [#3370547] fix: Remove "core: 8.x" from the .info.yml file
    

Status: Fixed » Closed (fixed)

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