forked from Snck3rs/contao-leaflet-maps
Rework filter handling (Fixes #50).
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
||||
- '@netzmacht.contao_toolkit.contao.input_adapter'
|
||||
- '@netzmacht.contao_leaflet.map.assets'
|
||||
- '@netzmacht.contao_leaflet.cache'
|
||||
- [] # TODO: Rework filter handling.
|
||||
- '@netzmacht.contao_leaflet.filter_factory'
|
||||
- '%kernel.debug%'
|
||||
|
||||
netzmacht.contao_leaflet.libraries:
|
||||
@@ -22,6 +22,11 @@ services:
|
||||
arguments:
|
||||
- '@contao.framework'
|
||||
|
||||
netzmacht.contao_leaflet.filter_factory:
|
||||
class: Netzmacht\Contao\Leaflet\Filter\FilterFactory
|
||||
arguments:
|
||||
- '%netzmacht.contao_leaflet.filters%'
|
||||
|
||||
netzmacht.contao_leaflet.cache:
|
||||
alias: 'netzmacht.contao_leaflet.cache.default'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user