Do not allow core: 8.x in info.yml file.

Created on 18 July 2023, over 1 year ago

Problem/Motivation

Adding both core and core_version_requirement with anything other than core_version_requirement: ^8 || ^9 will result in an exception. This is not valid because the core: key would include versions that do not recognize the core_version_requirement: key.

Steps to reproduce

For example, a theme that is compatible with Drupal 8 versions after Drupal 8.8.0 and also Drupal 9 will need an info.yml file like this:

name: My Module
type: module
core_version_requirement: ^8 || ^9

📌 Task
Status

Fixed

Version

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

Production build 0.71.5 2024