-
Notifications
You must be signed in to change notification settings - Fork 2
/
Plugin.php
37 lines (35 loc) · 1008 Bytes
/
Plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/*
* This file is part of the SuperTheme extension by Comolo.
*
* Copyright (C) 2017 Comolo GmbH
*
* @author Hendrik Obermayer <https://github.com/henobi>
* @copyright 2017 Comolo GmbH <https://www.comolo.de/>
* @license LGPL
*/
namespace Comolo\SuperThemeBundle\ContaoManager;
use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use Comolo\SuperThemeBundle\ComoloSuperThemeBundle;
/**
* Plugin for the Contao Manager.
*
* @author Hendrik Obermayer <https://github.com/henobi>
*/
class Plugin implements BundlePluginInterface
{
/**
* {@inheritdoc}
*/
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create(ComoloSuperThemeBundle::class)
->setLoadAfter([ContaoCoreBundle::class])
->setReplace(['supertheme']),
];
}
}