Answer the question
In order to leave comments, you need to log in
Why does the user data correction form give an error when saving?
I got the data correction form code using this miracle code:
$entity = \Drupal::entityTypeManager()->getStorage('user')->create(array());
$form = $this->entityFormBuilder()->getForm($entity);
$txtBlock = \Drupal::service('renderer')->render($form);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question