Unverified Commit f2b97582 authored by alexpott's avatar alexpott
Browse files

Issue #3105975 by Hardik_Patel_12: t() calls should be avoided in classes, use...

Issue #3105975 by Hardik_Patel_12: t() calls should be avoided in classes, use dependency injection and $this->t() instead in block module

(cherry picked from commit d384ad74)
parent 87bdfdfc
......@@ -173,7 +173,7 @@ public function form(array $form, FormStateInterface $form_state) {
$form['theme'] = [
'#type' => 'select',
'#options' => $theme_options,
'#title' => t('Theme'),
'#title' => $this->t('Theme'),
'#default_value' => $theme,
'#ajax' => [
'callback' => '::themeSwitch',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment