Piwik\Plugins\MultiSites\Menu::configureTopMenu PHP Метод

configureTopMenu() публичный Метод

public configureTopMenu ( MenuTop $menu )
$menu Piwik\Menu\MenuTop
    public function configureTopMenu(MenuTop $menu)
    {
        $urlParams = $this->urlForActionWithDefaultUserParams('index', array('segment' => false, 'idSite' => false));
        $tooltip = Piwik::translate('MultiSites_TopLinkTooltip');
        $menu->addItem('General_MultiSitesSummary', null, $urlParams, 3, $tooltip);
    }