- Issue created by @lmoeni
- 🇩🇪Germany lmoeni
The .module file is only affected in 1.5.x and the other two are in 1.4.x and also 1.5.x. That's why I seperated them in two merge requests.
- 🇮🇳India vinodhini.e chennai
Hello @Imoeni, I encountered the same issue while working with the CKEditor 5 Premium Features module.
Below are the steps I followed and the results:1. Installed the CKEditor 5 Premium Features module version 1.4.0 on a Drupal 11.2.x site.
2. Ran the Upgrade Status module to scan for deprecated functions.
3. Encountered the following error during the scan:
Call to deprecated function editor_load(). Deprecated in drupal:11.2.0 and is removed from drupal:12.0.0.
4. Applied the patch provided in MR !32.
5. Re-ran the Upgrade Status scan after applying the patch.The patch successfully removes the two deprecation errors in Drupal 11.2.x.
- First commit to issue fork.
- 🇵🇱Poland salmonek
Hi,
Thank you for your contribution.I've added few other deprecation fixes, pushed everything to 1.5.x MR and closed the 1.4.x MR
@Vinodhini
I've removed the strip_tags() as renderPlain() did return HTML and we want it in notifications.The
renderInIsolation()
function andFileExists
enum were added in Drupal 10.3 so I bumped the required core version. We'll release these updates in 1.6.0 - which will be released soon (will contain a new submodule), so that'll be good occasion to drop <10.3 support.
We don't want to mark Drupal 12 as supported yet, because of https://www.drupal.org/project/drupal/issues/3527914 📌 Use New installation methods for CKEditor5 Active which may land in 12.0 and will affect Premium Features module. -
salmonek →
committed bbe8fe3d on 1.5.x
Issue #3537144: Replace deprecated function for 11.2
-
salmonek →
committed bbe8fe3d on 1.5.x
- 🇵🇱Poland salmonek
Reviewed and tested by our QA team, merged into 1.5.x and will be released in 1.6.0 tomorrow. In addition to bumping minimum required Drupal version, we'll have a new submodule.