- Issue created by @Harshita mehra
- Status changed to Needs review
about 1 year ago 10:57am 17 October 2023 - 🇮🇳India Harshita mehra
I have provided a patch to fix this kindly review it.
Thanks!
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
-core: 8.x
core_version_requirement: ^8 || ^9 || ^10
Needs review
1.0
Code
I have provided a patch to fix this kindly review it.
Thanks!