pricing login/register translation

This commit is contained in:
2021-06-01 22:01:46 +02:00
parent f0b69fa76a
commit 370494499a
7 changed files with 7 additions and 8 deletions

View File

@@ -44,8 +44,7 @@ class AjaxLoginForm extends ControllerBase {
}
private function getFormDefinition(){
// $language = \Drupal::languageManager()->getCurrentLanguage()->getId();
// \Drupal::logger('materio_user')->notice($language);
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();
$this->form_builded = $this->formBuilder->getForm('Drupal\user\Form\UserLoginForm');
}