Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-07-22 11:24:15 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-07-22 11:24:15 +0400
commit3964ebc71576e917fe24a81c7a3662576ed76ca7 (patch)
treed3ec1521b6869dac51c8350d8768a0b2507d33d1 /plugins/ExampleUI
parent467417d7930097c8e03634b1b47e1f913184a777 (diff)
refs #5192 some more menu api tweaks. MenuReporting is not 100% good since it is in core and should not know whether are actions, referrers and visitors item but it is very convenient for developers. Once we have DI we could add those methods there
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r--plugins/ExampleUI/Menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExampleUI/Menu.php b/plugins/ExampleUI/Menu.php
index 8714c3eddc..06c4bccf8e 100644
--- a/plugins/ExampleUI/Menu.php
+++ b/plugins/ExampleUI/Menu.php
@@ -36,7 +36,7 @@ class Menu extends \Piwik\Plugin\Menu
public function configureUserMenu(MenuUser $menu)
{
$urlParams = array('module' => 'ExampleUI', 'action' => 'notifications');
- $menu->add('CorePluginsAdmin_MenuPlatform', 'UI Notifications', $urlParams, $displayedForCurrentUser = true, $order = 3);
+ $menu->addPlatformItem('UI Notifications', $urlParams, $order = 3);
}