mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-29 11:33:46 +01:00
Rework components to support latest toolkit changes.
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user