Skip to content
Snippets Groups Projects
Commit 89ce741e authored by Ihor Karpylenko's avatar Ihor Karpylenko Committed by Ihor Karpylenko
Browse files

Issue #3199722: You have requested a non-existent service "entity.manager"

parent e1953a21
No related branches found
No related tags found
1 merge request!1Issue #3199722: You have requested a non-existent service "entity.manager"
......@@ -41,7 +41,7 @@ class MenuBlock extends DeriverBase implements ContainerDeriverInterface {
*/
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static(
$container->get('entity.manager')->getStorage('menu'),
$container->get('entity_type.manager')->getStorage('menu'),
$container->get('string_translation')
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment