Commit 401eb6f8 authored by Fabio De Tant's avatar Fabio De Tant Committed by Andreas De Rijcke
Browse files

Issue #3326546 by dtfabio: CookiePro plus tokens in CKEditor are not being replaced

parent 2ec558f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ function cookiepro_plus_tokens(string $type, array $tokens, array $data, array $
        case 'consent_settings_link':

          /** @var \Drupal\Core\Block\BlockPluginInterface $block */
          $block = $block_manager->createInstance("cookiepro_$name", []);
          $block = $block_manager->createInstance("cookiepro_plus_$name", []);
          $build = $block->build();

          $replacements[$original] = $renderer->renderPlain($build);