- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → these changes make this module compatible with Drupal 11! 🎉
Therefore these changes update theinfo.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug information
Bot run #11-318179These packages were used to generate the fixes:
- drupal/upgrade_status: 4.3.6
- mglaman/phpstan-drupal: 1.3.1
- palantirnet/drupal-rector: 0.20.3
- First commit to issue fork.
- First commit to issue fork.
- 🇳🇱Netherlands Rhezios
Tested with Drupal 11.0.7. Uploading files in the CKEditor resulted in an error due the deprecation of file_validation methods.
file_validate and related functions are deprecated and replaced with file.validator service and Constraint plugins →I've updated MR11 to replace the deprecated file_validation methods.
- 🇳🇱Netherlands timohuisman Leiden, Netherlands
I've tested the changes from MR11 against drupal/core 11.0.7 and it works as expected.
The steps I took;
- Fresh Drupal installation with
drupal/recommended-project:^11
- Used
mglaman/composer-drupal-lenient
andcweagans/composer-patches
to install the patch - Add the file plugin to the editor
- Verified that I can upload a file
- Fresh Drupal installation with
-
duaelfr →
committed 70a137b5 on 2.x authored by
patelh84 →
Issue #3482924: Drupal 11 compatibility
-
duaelfr →
committed 70a137b5 on 2.x authored by
patelh84 →
- 🇫🇷France duaelfr Montpellier, France
Thanks you all for fixing that and testing!
- 🇫🇷France duaelfr Montpellier, France
Adding credits from 📌 Automated Drupal 11 compatibility fixes for editor_file Needs review
Automatically closed - issue fixed for 2 weeks with no activity.