mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 06:01:35 +01:00
Added new structure for subbar
This commit is contained in:
parent
cfcc498d4e
commit
fd65859572
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Event\Menu\Topbar;
|
||||
namespace App\Event\Menu\Subbar;
|
||||
|
||||
use Knp\Menu\FactoryInterface;
|
||||
use Knp\Menu\ItemInterface;
|
@ -7,7 +7,7 @@ use Knp\Menu\FactoryInterface;
|
||||
use Knp\Menu\ItemInterface;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use App\Event\Menu\Topbar\SourceMenuEvent;
|
||||
use App\Event\Menu\Subbar\SourceMenuEvent;
|
||||
|
||||
class Menu
|
||||
{
|
||||
|
18
application/src/Subscriber/NodeMenuSubscriber.php
Normal file
18
application/src/Subscriber/NodeMenuSubscriber.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace App\Subscriber;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
class NodeMenuSubscriber extends AbstractEntityMenuSubscriber
|
||||
{
|
||||
public static function getSubscribedEvents()
|
||||
{
|
||||
return [
|
||||
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Subscriber;
|
||||
|
||||
use App\Event\Menu\Topbar\SourceMenuEvent;
|
||||
use App\Event\Menu\Subbar\SourceMenuEvent;
|
||||
|
||||
class SourceMenuSubscriber extends AbstractEntityMenuSubscriber
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user