Rename to filtered-eventsexport-bundle
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace GymnasiumNossenBundle\Contao\Manager;
|
||||
namespace FilteredEventsExportBundle\Contao\Manager;
|
||||
|
||||
use Contao\CalendarBundle\ContaoCalendarBundle;
|
||||
use Contao\CoreBundle\ContaoCoreBundle;
|
||||
@@ -10,7 +10,7 @@ use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
|
||||
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
|
||||
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
|
||||
use Contao\ManagerPlugin\Routing\RoutingPluginInterface;
|
||||
use GymnasiumNossenBundle\GymnasiumNossenBundle;
|
||||
use FilteredEventsExportBundle\FilteredEventsExportBundle;
|
||||
use Symfony\Component\Config\Loader\LoaderResolverInterface;
|
||||
use Symfony\Component\HttpKernel\KernelInterface;
|
||||
use Symfony\Component\Routing\RouteCollection;
|
||||
@@ -20,7 +20,7 @@ class Plugin implements BundlePluginInterface, RoutingPluginInterface
|
||||
public function getBundles(ParserInterface $parser): iterable
|
||||
{
|
||||
return [
|
||||
BundleConfig::create(GymnasiumNossenBundle::class)
|
||||
BundleConfig::create(FilteredEventsExportBundle::class)
|
||||
->setLoadAfter([ContaoCoreBundle::class, ContaoCalendarBundle::class]),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace GymnasiumNossenBundle\Controller;
|
||||
namespace FilteredEventsExportBundle\Controller;
|
||||
|
||||
use Contao\CalendarEventsModel;
|
||||
use Contao\CoreBundle\Controller\FrontendModule\AbstractFrontendModuleController;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace GymnasiumNossenBundle\Controller;
|
||||
namespace FilteredEventsExportBundle\Controller;
|
||||
|
||||
use DateTimeImmutable;
|
||||
use Dompdf\Dompdf;
|
||||
@@ -15,7 +15,7 @@ use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Attribute\Route;
|
||||
use Twig\Environment;
|
||||
|
||||
#[Route('/events/pdf', name: 'gymnasium_event_pdf', methods: ['POST'])]
|
||||
#[Route('/events/pdf', name: 'filtered_eventsexport_event_pdf', methods: ['POST'])]
|
||||
class EventPdfController
|
||||
{
|
||||
public function __construct(
|
||||
|
||||
+2
-2
@@ -2,14 +2,14 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace GymnasiumNossenBundle\DependencyInjection;
|
||||
namespace FilteredEventsExportBundle\DependencyInjection;
|
||||
|
||||
use Symfony\Component\Config\FileLocator;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
||||
|
||||
class GymnasiumNossenExtension extends Extension
|
||||
class FilteredEventsExportExtension extends Extension
|
||||
{
|
||||
public function load(array $configs, ContainerBuilder $container): void
|
||||
{
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace GymnasiumNossenBundle;
|
||||
namespace FilteredEventsExportBundle;
|
||||
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
class GymnasiumNossenBundle extends Bundle
|
||||
class FilteredEventsExportBundle extends Bundle
|
||||
{
|
||||
public function getPath(): string
|
||||
{
|
||||
@@ -1,3 +1,3 @@
|
||||
gymnasium_nossen_bundle_controllers:
|
||||
filtered_eventsexport_bundle_controllers:
|
||||
resource: ../../Controller/
|
||||
type: attribute
|
||||
|
||||
@@ -3,9 +3,9 @@ services:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
|
||||
GymnasiumNossenBundle\Controller\:
|
||||
FilteredEventsExportBundle\Controller\:
|
||||
resource: ../../../Controller/
|
||||
|
||||
GymnasiumNossenBundle\Controller\EventListModuleController:
|
||||
FilteredEventsExportBundle\Controller\EventListModuleController:
|
||||
tags:
|
||||
- { name: contao.frontend_module, type: gymnasium_eventlist, category: events, template: frontend/module_event_list }
|
||||
- { name: contao.frontend_module, type: filtered_eventsexport_eventlist, category: events, template: frontend/module_event_list }
|
||||
|
||||
Reference in New Issue
Block a user