Issue #3122912 by shaktik, siddhant.bhosale, S_Bhandari, martin107,...
Issue #3122912 by shaktik, siddhant.bhosale, S_Bhandari, martin107, swatichouhan012, kapilkumar0324, raman.b, paulocs, longwave, quietone, xjm: t() calls should be avoided , use $this->t() instead in Form Builders
$this->messenger()->addWarning(t('All necessary changes to %dir and %file have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, consult the <a href=":handbook_url">online handbook</a>.',['%dir'=>$settings_dir,'%file'=>$settings_file,':handbook_url'=>'https://www.drupal.org/server-permissions']));
$this->messenger()->addWarning($this->t('All necessary changes to %dir and %file have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, consult the <a href=":handbook_url">online handbook</a>.',['%dir'=>$settings_dir,'%file'=>$settings_file,':handbook_url'=>'https://www.drupal.org/server-permissions']));
@@ -122,7 +122,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
$form['expanded']=[
'#type'=>'checkbox',
'#title'=>t('Show as expanded'),
'#title'=>$this->t('Show as expanded'),
'#description'=>$this->t('If selected and this menu link has children, the menu will always appear expanded. This option may be overridden for the entire menu tree when placing a menu block.'),