Rework components to support latest toolkit changes.

This commit is contained in:
David Molineus
2017-10-10 15:25:35 +02:00
parent 5167318c43
commit 8f45bf925a
5 changed files with 31 additions and 53 deletions

View File

@@ -14,7 +14,6 @@ declare(strict_types=1);
namespace Netzmacht\Contao\Leaflet\Frontend\Module;
use Netzmacht\Contao\Leaflet\Frontend\Module\MapModule;
use Netzmacht\Contao\Toolkit\Component\Component;
use Netzmacht\Contao\Toolkit\Component\ComponentFactory;
use Psr\Container\ContainerInterface as Container;
@@ -58,7 +57,7 @@ class MapModuleFactory implements ComponentFactory
{
return new MapModule(
$model,
$this->container->get('netzmacht.contao_toolkit.view.template_factory'),
$this->container->get('templating'),
$this->container->get('translator'),
$this->container->get('netzmacht.contao_leaflet_maps.map.provider'),
$this->container->get('netzmacht.contao_toolkit.contao.input'),