forked from skounis/blellow_helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblellow_helper.services.yml
27 lines (27 loc) · 1.16 KB
/
blellow_helper.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
parameters:
blellow_helper.twig_loader.namespaces: ['ec-europa', 'ecl']
blellow_helper.twig_loader.theme: 'blellow'
blellow_helper.twig_loader.directory: 'templates/components'
services:
blellow_helper.twig_loader.component_library:
class: Drupal\blellow_helper\Loader\ComponentLibraryLoader
arguments: ['%blellow_helper.twig_loader.namespaces%', '@app.root', '%blellow_helper.twig_loader.theme%', '%blellow_helper.twig_loader.directory%', '@theme_handler']
tags:
- { name: twig.loader, priority: -50 }
blellow_helper.route_subscriber:
class: Drupal\blellow_helper\Routing\RouteSubscriber
tags:
- { name: event_subscriber }
blellow_helper.page_header_context:
class: Drupal\blellow_helper\ContextProvider\PageHeaderContext
arguments: ['@plugin.manager.page_header_metadata']
tags:
- { name: 'context_provider' }
plugin.manager.page_header_metadata:
class: Drupal\blellow_helper\PageHeaderMetadataPluginManager
parent: default_plugin_manager
blellow_helper.twig_extension.filters:
class: Drupal\blellow_helper\TwigExtension\Filters
arguments: ['@language_manager']
tags:
- { name: twig.extension }