summaryrefslogtreecommitdiffstats
path: root/core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php')
-rw-r--r--core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php b/core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
index 6b0cb14..62afbf0 100644
--- a/core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
+++ b/core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
@@ -17,7 +17,12 @@ class InlineFormErrorsServiceProvider extends ServiceProviderBase {
public function alter(ContainerBuilder $container) {
$container->getDefinition('form_error_handler')
->setClass(FormErrorHandler::class)
- ->setArguments([new Reference('string_translation'), new Reference('link_generator'), new Reference('renderer')]);
+ ->setArguments([
+ new Reference('string_translation'),
+ new Reference('link_generator'),
+ new Reference('renderer'),
+ new Reference('messenger'),
+ ]);
}
}