summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpashupathinath2017-01-30 15:21:23 (GMT)
committerhass2017-01-30 15:21:23 (GMT)
commitea50fbd199c64fcd5823fde0829afc368eff0118 (patch)
tree6e7ca1ff96036a6591cc498e6385d4b54794b127
parente4f50b78809a653ffd6a68d725587136562d5369 (diff)
Issue #2844343 by pashupathi nath gajawada: In Drupal 8 version
$this->t() should be used instead of t()
-rw-r--r--src/Form/ReCaptchaAdminSettingsForm.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Form/ReCaptchaAdminSettingsForm.php b/src/Form/ReCaptchaAdminSettingsForm.php
index 2ea7371..fd2ca6d 100644
--- a/src/Form/ReCaptchaAdminSettingsForm.php
+++ b/src/Form/ReCaptchaAdminSettingsForm.php
@@ -65,8 +65,8 @@ class ReCaptchaAdminSettingsForm extends ConfigFormBase {
'#default_value' => $config->get('widget.theme'),
'#description' => $this->t('Defines which theme to use for reCAPTCHA.'),
'#options' => [
- 'light' => t('Light (default)'),
- 'dark' => t('Dark'),
+ 'light' => $this->t('Light (default)'),
+ 'dark' => $this->t('Dark'),
],
'#title' => $this->t('Theme'),
'#type' => 'select',