Refactored Menu and implemented event listener for node

This commit is contained in:
Kevin Frantz
2018-10-04 22:18:33 +02:00
parent cde432a4b4
commit 064ca5981c
4 changed files with 32 additions and 19 deletions

View File

@@ -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'
];
}
}