mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Refactored Menu and implemented event listener for node
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
namespace App\Subscriber;
|
||||
|
||||
use App\DBAL\Types\MenuEventType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
@@ -11,7 +13,7 @@ class NodeMenuSubscriber extends AbstractEntityMenuSubscriber
|
||||
public static function getSubscribedEvents()
|
||||
{
|
||||
return [
|
||||
|
||||
MenuEventType::NODE => 'onNodeMenuConfigure'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user