Mercurial > hg > cmmr2012-drupal-site
diff core/modules/user/src/RoleListBuilder.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/modules/user/src/RoleListBuilder.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/user/src/RoleListBuilder.php Thu May 09 15:34:47 2019 +0100 @@ -47,7 +47,7 @@ public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) { return new static( $entity_type, - $container->get('entity.manager')->getStorage($entity_type->id()), + $container->get('entity_type.manager')->getStorage($entity_type->id()), $container->get('messenger') ); } @@ -85,7 +85,7 @@ $operations['permissions'] = [ 'title' => t('Edit permissions'), 'weight' => 20, - 'url' => $entity->urlInfo('edit-permissions-form'), + 'url' => $entity->toUrl('edit-permissions-form'), ]; } return $operations;