Remove "core: 8.x" from the .info.yml file

Created on 22 June 2023, over 1 year ago
Updated 20 July 2023, over 1 year ago

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
📌 Task
Status

Needs review

Version

3.0

Component

Code

Created by

🇮🇳India Harshita mehra

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Harshita mehra
  • Status changed to RTBC over 1 year ago
  • Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 5.7
    last update over 1 year ago
    Waiting for branch to pass
  • 🇮🇳India Harshita mehra

    Hello Maintainers,
    I have provided a patch for this issue.
    Please review it.

    Thanks!

  • Status changed to Needs work over 1 year ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
    -# core: 8.x
     package: Gallery Slider
     dependencies:
       - drupal:field

    Actually, the content of the .info.yml file is the following.

    name: Gallery slider
    type: module
    description: Gallery Slider jQuery plugin integration module.
    # core: 8.x
    package: Gallery Slider
    dependencies:
      - drupal:field
      - drupal:image
    core_version_requirement: ^8 || ^9
    

    The correct change is either one or the other of the following:

    • # core: 8.x is changed to core: 8.x
    • core_version_requirement: ^8 || ^9 is changed to core_version_requirement: ^8.8 || ^9
  • Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 5.7
    last update over 1 year ago
    Waiting for branch to pass
  • @harshita-mehna opened merge request.
  • Status changed to Needs review over 1 year ago
  • Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 5.7
    last update over 1 year ago
    Waiting for branch to pass
  • 🇮🇳India Harshita mehra

    @apaderno, I have updated the patch 3368493-2.patch or an MR !3 please review.

Production build 0.71.5 2024