summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2019-02-08 08:34:21 (GMT)
committerhass2019-02-08 08:34:21 (GMT)
commit711dc92e75fb9a5f241622146f0c51665a8e1c4f (patch)
treea9dbac84181ccecebd3dfa82ab1315f4459c8612
parenteb546103535d9c711596a8c244a6a206d81e67e7 (diff)
Add values to array8.x-3.x
-rw-r--r--src/Form/GoogleAnalyticsAdminSettingsForm.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Form/GoogleAnalyticsAdminSettingsForm.php b/src/Form/GoogleAnalyticsAdminSettingsForm.php
index bd39c33..4c528f8 100644
--- a/src/Form/GoogleAnalyticsAdminSettingsForm.php
+++ b/src/Form/GoogleAnalyticsAdminSettingsForm.php
@@ -236,9 +236,9 @@ class GoogleAnalyticsAdminSettingsForm extends ConfigFormBase {
'#type' => 'radios',
'#title' => $this->t('Allow users to customize tracking on their account page'),
'#options' => [
- $this->t('No customization allowed'),
- $this->t('Tracking on by default, users with %permission permission can opt out', $t_permission),
- $this->t('Tracking off by default, users with %permission permission can opt in', $t_permission),
+ 0 => $this->t('No customization allowed'),
+ 1 => $this->t('Tracking on by default, users with %permission permission can opt out', $t_permission),
+ 2 => $this->t('Tracking off by default, users with %permission permission can opt in', $t_permission),
],
'#default_value' => !empty($visibility_user_account_mode) ? $visibility_user_account_mode : 0,
];