Skip to content
Snippets Groups Projects
Commit 7feeb44c authored by catch's avatar catch
Browse files

Issue #3154461 by Hardik_Patel_12: Removing getFormObject call from UserAccountFormFieldsTest

(cherry picked from commit e76396d4)
parent 686f68e9
Branches
Tags
9 merge requests!1445Issue #2920039: Views' User Name exposed group filter validation,!1298Issue #3240993: Let layout builder render inline block translations,!774Issue #3174569: Example node template file name is incorrect,!497Issue #2463967: Use .user.ini file for PHP settings,!433Resolve #3163663 "Too many open files",!233Resolve #2693787 "Taxonomy term name",!133Resolve #2666286 "Clean up menuui",!112Resolve #3187004 "Drupaldatetime serialization issue",!53Resolve #3181870: Correct typo "the the" in "core/classList" deprecation message.
......@@ -135,9 +135,6 @@ protected function buildAccountForm($operation) {
$entity = $this->container->get('entity_type.manager')
->getStorage($entity_type)
->create($fields);
$this->container->get('entity_type.manager')
->getFormObject($entity_type, $operation)
->setEntity($entity);
// @see EntityFormBuilder::getForm()
return $this->container->get('entity.form_builder')->getForm($entity, $operation);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment