Skip to content
Snippets Groups Projects
Commit fc4dd098 authored by Iva's avatar Iva
Browse files

Issue #3136054: Drupal 9 readiness: replace call to deprecated EntityManager

parent 1e686978
Branches master
Tags 7.x-3.0
No related merge requests found
......@@ -51,7 +51,7 @@ class PermissionsForm extends UserPermissionsForm {
public static function create(ContainerInterface $container) {
return new static(
$container->get('user.permissions'),
$container->get('entity.manager')->getStorage('user_role'),
$container->get('entity_type.manager')->getStorage('user_role'),
$container->get('module_handler'),
$container->get('keyvalue.expirable')->get('filter_perms_list')
);
......
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