for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Yii2 Original Theme for Yii2 projects.
*
* @link https://github.com/hiqdev/yii2-theme-original
* @package yii2-theme-original
* @license BSD-3-Clause
* @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
*/
namespace hiqdev\themes\original\menus;
use hiqdev\thememanager\menus\AbstractMainMenu;
use yii\bootstrap\Nav;
* Navbar Menu.
* @author Andrii Vasyliev <[email protected]>
class NavbarMenu extends \hiqdev\yii2\menus\Menu
{
public function items()
return [
'nav' => [
'label' => AbstractMainMenu::widget([], [
'class' => Nav::class,
'options' => ['class' => 'navbar-nav navbar-right'],
]),
],
];
}