From 3b30dc18328a4d6912f23b93a776ed01994ba9ef Mon Sep 17 00:00:00 2001 From: Bart Heyrman Date: Tue, 24 Sep 2024 20:30:20 +0200 Subject: [PATCH] Update working-with-the-bundle.md --- Resources/doc/working-with-the-bundle.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Resources/doc/working-with-the-bundle.md b/Resources/doc/working-with-the-bundle.md index a5bca4f..30c1f3e 100644 --- a/Resources/doc/working-with-the-bundle.md +++ b/Resources/doc/working-with-the-bundle.md @@ -523,10 +523,12 @@ class FilterSubscriber implements EventSubscriberInterface { return [ // if a Doctrine\ORM\QueryBuilder is passed to the spiriit_form_filter.query_builder_updater service - 'spiriit_form_filter.apply.orm.filter_locale' => ['filterLocale'], + // "locale_filter" is the block prefix of the LocaleFilterType + 'spiriit_form_filter.apply.orm.locale_filter' => ['filterLocale'], // if a Doctrine\DBAL\Query\QueryBuilder is passed to the spiriit_form_filter.query_builder_updater service - 'spiriit_form_filter.apply.dbal.filter_locale' => ['filterLocale'], + // "locale_filter" is the block prefix of the LocaleFilterType + 'spiriit_form_filter.apply.dbal.locale_filter' => ['filterLocale'], ]; }