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
Comments
Comment #2
harshita mehna commentedComment #3
__i.am.prashant__ commentedHi @Harshita, I reviewed and applied your patch that removed core : '8.x' from info.yml file and now it looks fine.
Comment #4
avpadernoComment #6
harshita mehna commented@apaderno, I have updated the patch please review it.
Comment #7
avpadernoThe last patch is correct, but it should be provided for the 2.0.x branch.
Comment #9
bharath-kondeti commented@apaderno the MR https://git.drupalcode.org/project/entity_type_behaviors/-/merge_requests/3 is already raised for 2.0.x.
Comment #10
avpadernoComment #13
jeroentMerged to 2.0.x. Thanks!