turnstile

Drupal paywall plugin
Log | Files | Refs | README | LICENSE

commit 489bb0a98a869961dd9803dd54f52c364ce74e61
parent 0db0f25e26770ca8ce23a0197d0c5de3994e2956
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  3 Oct 2025 18:13:07 +0200

add FIXME

Diffstat:
Mturnstile.module | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/turnstile.module b/turnstile.module @@ -87,6 +87,7 @@ function turnstile_entity_view_alter(array &$build, EntityInterface $entity, Ent $transformed_body = turnstile_check_paywall_cookie($body_value, $entity); // Update the body in the build array. + // FIXME: this somehow does not work, the body is not there! if (isset($build['body'][0]['#text'])) { \Drupal::logger('turnstile')->debug('Transformed body for Turnstile.'); $build['body'][0]['#text'] = $transformed_body;