src/Controller/DefaultController.php
public static function announce()
    {
        $oNavGroup = Factory::factory('Nav', 'nails/module-admin');
        $oNavGroup
            ->setLabel(static::getSidebarGroup())
            ->setIcon(static::CONFIG_SIDEBAR_ICON);

        if (static::userCan('browse')) {
            $oNavGroup
                ->addAction('Manage ' . static::getTitlePlural(), 'index');
        }

        return $oNavGroup;
    }
public static function announce()
    {
        $oNavGroup = Factory::factory('Nav', 'nails/module-admin');
        $oNavGroup
            ->setLabel(static::getSidebarGroup())
            ->setIcon(static::CONFIG_SIDEBAR_ICON);

        if (static::userCan('browse')) {
            $oNavGroup
                ->addAction('Manage ' . static::getTitlePlural(), 'index');
        }

        return $oNavGroup;
    }
Announces this controller's navGroups

@return array|Nav
@throws NailsException