turnstile

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

commit a3a5d4bcbca56fd81627672798ac7c90ea2b231c
parent 4a8c83573ddfb7e35bc5570e1087cd521d4fc56a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 11 Oct 2025 22:39:02 +0200

re-enable commented out logic

Diffstat:
Msrc/Entity/TurnstilePriceCategory.php | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/Entity/TurnstilePriceCategory.php b/src/Entity/TurnstilePriceCategory.php @@ -123,11 +123,10 @@ class TurnstilePriceCategory extends ConfigEntityBase { $description_i18n = NULL; } $choices[] = [ - 'amount' => 'KUDOS:1', - // 'amount' => $currencyCode . ':' . $price, - // 'description' => $description, + 'amount' => $currencyCode . ':' . $price, + 'description' => $description, // 'description_i18n' => $description_i18n, - // 'inputs' => $inputs, + 'inputs' => $inputs, ]; // FIXME: lacks choices which buy subscriptions! }