From b5997f53ff34240c677afd7a17464ac4b2b545db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuomas=20V=C3=A4limaa?= Date: Tue, 9 May 2023 15:29:03 +0300 Subject: [PATCH] Ckeditor 5 support --- iframe_cookie_consent.info.yml | 2 +- src/Plugin/Filter/IframeCookieConsent.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iframe_cookie_consent.info.yml b/iframe_cookie_consent.info.yml index 514fe5c..3d07225 100644 --- a/iframe_cookie_consent.info.yml +++ b/iframe_cookie_consent.info.yml @@ -2,4 +2,4 @@ name: Iframe cookie consent description: Hide and show content based on the visitor's consent type: module package: Custom -core_version_requirement: ^8 || ^9 +core_version_requirement: ^9.5 || ^10 diff --git a/src/Plugin/Filter/IframeCookieConsent.php b/src/Plugin/Filter/IframeCookieConsent.php index 27314f4..9691aa9 100644 --- a/src/Plugin/Filter/IframeCookieConsent.php +++ b/src/Plugin/Filter/IframeCookieConsent.php @@ -13,7 +13,7 @@ * id = "iframecookieconsent", * title = @Translation("Iframe cookie consent"), * description = @Translation("Hide and show content based on the visitor's consent"), - * type = Drupal\filter\Plugin\FilterInterface::TYPE_MARKUP_LANGUAGE, + * type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_IRREVERSIBLE, * ) */ class IframeCookieConsent extends FilterBase {