Add module factories.

This commit is contained in:
David Molineus
2017-10-06 14:54:58 +02:00
parent bc425ea772
commit 2c88d7aec5
5 changed files with 160 additions and 4 deletions

View File

@@ -73,3 +73,17 @@ services:
class: Netzmacht\Contao\Leaflet\Alias\ParentAliasGeneratorFactory
arguments:
- '@database_connection'
netzmacht.contao_leaflet_maps.frontend.element_factory:
class: Netzmacht\Contao\Leaflet\Frontend\ContentElement\MapElementFactory
arguments:
- '@service_container'
tags:
- { name: 'netzmacht.contao_toolkit.component.content_element_factory' }
netzmacht.contao_leaflet_maps.frontend.module_factory:
class: Netzmacht\Contao\Leaflet\Frontend\Module\MapModuleFactory
arguments:
- '@service_container'
tags:
- { name: 'netzmacht.contao_toolkit.component.frontend_module_factory' }