Commit afe0b21c authored by Nicolas Widart's avatar Nicolas Widart

Adding listeners

parent 7a48b877
<?php namespace Modules\Core\Listeners;
class SidebarNavigationListener
{
public function handle()
{
// dd('??');
}
}
\ No newline at end of file
...@@ -13,4 +13,6 @@ Event::listen('modules.load.end', function() ...@@ -13,4 +13,6 @@ Event::listen('modules.load.end', function()
{ {
// $modules = Module::enabled(); // $modules = Module::enabled();
// dd($modules); // dd($modules);
}); });
\ No newline at end of file
Event::listen('Modules\User\Events\RegisterSidebarMenuItemEvent', 'Modules\Core\Listeners\SidebarNavigationListener');
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment