<?php

namespace eSalesMedia\eSalesLayoutKit\ContaoManager;

use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use Contao\ManagerPlugin\Dependency\DependentPluginInterface;
use eSalesMedia\eSalesLayoutKit\eSalesLayoutKitBundle;

class Plugin implements BundlePluginInterface
{
  public function getBundles(ParserInterface $parser)
  {
    return [
      BundleConfig::create(eSalesLayoutKitBundle::class)
        ->setLoadAfter(
          [
            \Contao\CoreBundle\ContaoCoreBundle::class
          ]
        )
    ];
  }
}