From b77b0f1181789a02a6f2419bf3399d59b05b35fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Tue, 19 Mar 2024 07:38:58 +0100 Subject: [PATCH] Added services configuration --- .../config/settings/fieldtype_services.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/bundle/Resources/config/settings/fieldtype_services.yaml b/src/bundle/Resources/config/settings/fieldtype_services.yaml index 0ee71f70..09bdb2e0 100644 --- a/src/bundle/Resources/config/settings/fieldtype_services.yaml +++ b/src/bundle/Resources/config/settings/fieldtype_services.yaml @@ -70,3 +70,16 @@ services: Ibexa\FieldTypeRichText\RichText\TextExtractor\FullTextExtractor: ~ + Ibexa\Contracts\FieldTypeRichText\RichText\TextExtractor\NodeFilterInterface: + alias: Ibexa\FieldTypeRichText\RichText\TextExtractor\NodeFilter\AggregateFilter + + Ibexa\FieldTypeRichText\RichText\TextExtractor\NodeFilter\AggregateFilter: + arguments: + $filters: !tagged ibexa.field_type.richtext.text_extractor.node_filter + + ibexa.field_type.richtext.text_extractor.node_filter.template: + class: Ibexa\FieldTypeRichText\RichText\TextExtractor\NodeFilter\NodePathFilter + arguments: ['eztemplate', 'ezconfig'] + tags: + - { name: ibexa.field_type.richtext.text_extractor.node_filter } +