Commit 0670fb80 authored by Hiraman Patil's avatar Hiraman Patil Committed by Joao Ventura
Browse files

Issue #3064455 by hiramanpatil, jcnventura: t() calls should be avoided in classes

parent 6f0f3ba2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -132,9 +132,9 @@ class EntityLogConfigForm extends ConfigFormBase {
              $options[$field_name] = $field_label;
            }
            $form[$entity][$bundle_name]['fields'] = [
              '#title' => t('Fields'),
              '#title' => $this->t('Fields'),
              '#type' => 'checkboxes',
              '#description' => t('Select fields you would like to log on update'),
              '#description' => $this->t('Select fields you would like to log on update'),
              '#options' => $options,
              '#default_value' => isset($config[$bundle_name]['fields']) ? $config[$bundle_name]['fields'] : [],
            ];