Skip to content
Snippets Groups Projects
Commit de1d788c authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2268753 by amateescu, larowlan, mikemiles86: Fixed Cleanup...

Issue #2268753 by amateescu, larowlan, mikemiles86: Fixed Cleanup EntityReferenceController's create() method.
parent 12ba160d
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -42,8 +42,7 @@ public function __construct(EntityReferenceAutocomplete $entity_reference_autoco
*/
public static function create(ContainerInterface $container) {
return new static(
$container->get('entity_reference.autocomplete'),
$container->get('entity.manager')
$container->get('entity_reference.autocomplete')
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment