Skip to content

Commit

Permalink
Fix sonata deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jun 24, 2024
1 parent 1a48bff commit d5abf82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/Resources/config/admin_mongodb.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
$container->parameters()

->set('nucleos_user_admin.admin.groupname', 'user')
->set('nucleos_user_admin.admin.label_catalogue', 'NucleosUserAdminBundle')
->set('nucleos_user_admin.admin.groupicon', '<i class=\'fa fa-users\'></i>')
->set('nucleos_user_admin.admin.groupicon', 'fa fa-users')
;

$container->services()
Expand All @@ -29,7 +28,6 @@
'controller' => '%nucleos_user_admin.admin.user.controller%',
'group' => '%nucleos_user_admin.admin.groupname%',
'label' => 'users',
'label_catalogue' => '%nucleos_user_admin.admin.label_catalogue%',
'label_translator_strategy' => 'sonata.admin.label.strategy.underscore',
'icon' => '%nucleos_user_admin.admin.groupicon%',
])
Expand All @@ -49,7 +47,6 @@
'controller' => '%nucleos_user_admin.admin.group.controller%',
'group' => '%nucleos_user_admin.admin.groupname%',
'label' => 'groups',
'label_catalogue' => '%nucleos_user_admin.admin.label_catalogue%',
'label_translator_strategy' => 'sonata.admin.label.strategy.underscore',
'icon' => '%nucleos_user_admin.admin.groupicon%',
])
Expand Down
5 changes: 1 addition & 4 deletions src/Resources/config/admin_orm.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
$container->parameters()

->set('nucleos_user_admin.admin.groupname', 'user')
->set('nucleos_user_admin.admin.label_catalogue', 'NucleosUserAdminBundle')
->set('nucleos_user_admin.admin.groupicon', '<i class=\'fa fa-users\'></i>')
->set('nucleos_user_admin.admin.groupicon', 'fa fa-users')
;

$container->services()
Expand All @@ -29,7 +28,6 @@
'controller' => '%nucleos_user_admin.admin.user.controller%',
'group' => '%nucleos_user_admin.admin.groupname%',
'label' => 'users',
'label_catalogue' => '%nucleos_user_admin.admin.label_catalogue%',
'label_translator_strategy' => 'sonata.admin.label.strategy.underscore',
'icon' => '%nucleos_user_admin.admin.groupicon%',
])
Expand All @@ -49,7 +47,6 @@
'controller' => '%nucleos_user_admin.admin.group.controller%',
'group' => '%nucleos_user_admin.admin.groupname%',
'label' => 'groups',
'label_catalogue' => '%nucleos_user_admin.admin.label_catalogue%',
'label_translator_strategy' => 'sonata.admin.label.strategy.underscore',
'icon' => '%nucleos_user_admin.admin.groupicon%',
])
Expand Down

0 comments on commit d5abf82

Please sign in to comment.