diff options
Diffstat (limited to 'plugins/VisitsSummary/Menu.php')
-rw-r--r-- | plugins/VisitsSummary/Menu.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/VisitsSummary/Menu.php b/plugins/VisitsSummary/Menu.php new file mode 100644 index 0000000000..3a9d26029b --- /dev/null +++ b/plugins/VisitsSummary/Menu.php @@ -0,0 +1,20 @@ +<?php +/** + * Piwik - Open source web analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\VisitsSummary; + +use Piwik\Menu\MenuReporting; + +class Menu extends \Piwik\Plugin\Menu +{ + public function configureReportingMenu(MenuReporting $menu) + { + $menu->add('General_Visitors', '', array('module' => 'VisitsSummary', 'action' => 'index'), true, 10); + $menu->add('General_Visitors', 'General_Overview', array('module' => 'VisitsSummary', 'action' => 'index'), true, 1); + } +} |