turnstile

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

commit 4f4ed332518243c7474ec6e1ff5fc9b0f225bdb1
parent d391fabc513d2e9421b67e962723b9c935515dd0
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 11 Oct 2025 22:32:26 +0200

open no-subscriptin price by default

Diffstat:
Msrc/Form/PriceCategoryForm.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Form/PriceCategoryForm.php b/src/Form/PriceCategoryForm.php @@ -100,7 +100,7 @@ class PriceCategoryForm extends EntityForm { $form['prices'][$subscription_id] = [ '#type' => 'details', '#title' => $subscription_label, - '#open' => FALSE, + '#open' => ($subscription_id === '%none%'), ]; foreach ($currencies as $currency) {