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
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment