Rework libraries handling so that libraries don't have to be ported to contao 4.4 only yet.

This commit is contained in:
David Molineus
2017-10-09 15:36:11 +02:00
parent e6ed2c456d
commit edf212b850
8 changed files with 199 additions and 10 deletions

View File

@@ -17,6 +17,11 @@ services:
- [] # TODO: Rework filter handling.
- '%kernel.debug%'
netzmacht.contao_leaflet_maps.libraries:
class: Netzmacht\Contao\Leaflet\Frontend\Assets\LibrariesConfiguration
arguments:
- '@contao.framework'
netzmacht.contao_leaflet_maps.cache:
alias: 'netzmacht.contao_leaflet_maps.cache.default'