Try your search with a different keyword or use * as a wildcard.
using Nop.Services.Cms;
using Nop.Services.Plugins;
namespace Nop.Tests.Nop.Web.Tests.Public;
public class TestWidgetPlugin : BasePlugin, IWidgetPlugin
{
public bool HideInWidgetList { get; } = false;
public Task<IList<string>> GetWidgetZonesAsync()
{
return Task.FromResult<IList<string>>(new List<string> { "test widget zone" });
}
public Type GetWidgetViewComponent(string widgetZone)
{
return typeof(TestWidgetPlugin);
}
}