Skip to content

Commit 73c6828

Browse files
committed
Remove route loading from plugin.
We do not have custom entry points in this bundle.
1 parent 942ce7e commit 73c6828

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/ContaoManager/Plugin.php

+2-14
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* @package MetaModels
1414
* @subpackage AttributeSelect
1515
* @author David Molineus <[email protected]>
16+
* @author Christian Schiffler <[email protected]>
1617
* @copyright 2012-2017 The MetaModels team.
1718
* @license https://github.com/MetaModels/attribute_text/blob/master/LICENSE LGPL-3.0
1819
* @filesource
@@ -23,16 +24,13 @@
2324
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
2425
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
2526
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
26-
use Contao\ManagerPlugin\Routing\RoutingPluginInterface;
2727
use MetaModels\AttributeSelectBundle\MetaModelsAttributeSelectBundle;
2828
use MetaModels\CoreBundle\MetaModelsCoreBundle;
29-
use Symfony\Component\Config\Loader\LoaderResolverInterface;
30-
use Symfony\Component\HttpKernel\KernelInterface;
3129

3230
/**
3331
* Contao Manager plugin.
3432
*/
35-
class Plugin implements BundlePluginInterface, RoutingPluginInterface
33+
class Plugin implements BundlePluginInterface
3634
{
3735
/**
3836
* {@inheritdoc}
@@ -49,14 +47,4 @@ public function getBundles(ParserInterface $parser)
4947
->setReplace(['metamodelsattribute_select'])
5048
];
5149
}
52-
53-
/**
54-
* {@inheritdoc}
55-
*/
56-
public function getRouteCollection(LoaderResolverInterface $resolver, KernelInterface $kernel)
57-
{
58-
$resolver
59-
->resolve(__DIR__ . '/../Resources/config/routing.yml')
60-
->load(__DIR__ . '/../Resources/config/routing.yml');
61-
}
6250
}

0 commit comments

Comments
 (0)