a11yfirst / drupal-module

2 stars 0 forks source link

Update info file for Drupal 9 compatibility #2

Open jonathanfranks opened 2 years ago

jonathanfranks commented 2 years ago

The core parameter has been replaced with the core_version_requirement property. This needs to be updated in a11yfirst.info.yml so this module can work with Drupal 9.

jonathanfranks commented 2 years ago

Here is a good patch:

diff --git a/a11yfirst.info.yml b/a11yfirst.info.yml
index 8fcee0a..69f9add 100644
--- a/a11yfirst.info.yml
+++ b/a11yfirst.info.yml
@@ -2,7 +2,7 @@ name: A11yFirst Plugins for CKEditor
 type: module
 description: Adds the A11yFirst suite of accessibility-focused plugins to Drupal’s native CKEditor.
 package: CKEditor
-core: 8.x
+core_version_requirement: ^8.8 || ^9
 dependencies:
   - ckeditor
   - fakeobjects

I can't make a PR for this or attach a patch file to this issue.