Commit de1d788c authored by alexpott's avatar alexpott

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

Issue #2268753 by amateescu, larowlan, mikemiles86: Fixed Cleanup EntityReferenceController's create() method.
parent 12ba160d
......@@ -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')
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment