Skip to content
Snippets Groups Projects
Commit 30da57fb authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2095641 by m1r1k: Use current_user() service instead of _account...

Issue #2095641 by m1r1k: Use current_user() service instead of _account attribute to get user object.
parent ff71f796
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -111,7 +111,7 @@ static public function create(ContainerInterface $container, array $configuratio
$container->get('module_handler'),
$container->get('config.factory')->get('search.settings'),
$container->get('keyvalue')->get('state'),
$container->get('request')->attributes->get('_account')
$container->get('current_user')
);
}
......
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