mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
595 B
23 lines
595 B
using System.Threading.Tasks;
|
|
using Volo.Abp.UI.Navigation;
|
|
|
|
namespace Volo.CmsKit.Public.Web.Menus
|
|
{
|
|
public class CmsKitPublicMenuContributor : IMenuContributor
|
|
{
|
|
public async Task ConfigureMenuAsync(MenuConfigurationContext context)
|
|
{
|
|
if (context.Menu.Name == StandardMenus.Main)
|
|
{
|
|
await ConfigureMainMenuAsync(context);
|
|
}
|
|
}
|
|
|
|
private Task ConfigureMainMenuAsync(MenuConfigurationContext context)
|
|
{
|
|
//Add main menu items.
|
|
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
} |