mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-04 03:07:58 +00:00 
			
		
		
		
	Added new structure for subbar
This commit is contained in:
		@@ -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
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user