26 lines
693 B
C#
26 lines
693 B
C#
using Nop.Services.Plugins;
|
|
using Nop.Web.Framework.Events;
|
|
|
|
namespace Nop.Plugin.Misc.PowerBI.Services;
|
|
|
|
/// <summary>
|
|
/// Represents plugin event consumer
|
|
/// </summary>
|
|
public class EventConsumer : BaseAdminMenuCreatedEventConsumer
|
|
{
|
|
public EventConsumer(IPluginManager<IPlugin> pluginManager) :
|
|
base(pluginManager)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the plugin system name
|
|
/// </summary>
|
|
protected override string PluginSystemName => PowerBIDefaults.SystemName;
|
|
|
|
/// <summary>
|
|
/// The system name of the menu item before with need to insert the current one
|
|
/// </summary>
|
|
protected override string BeforeMenuSystemName => "Sales summary";
|
|
}
|