mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#18877: Adding a prefix to WidgetPart
Work Item: 18877 --HG-- branch : 1.x
This commit is contained in:
@@ -24,6 +24,10 @@ namespace Orchard.Widgets.Drivers {
|
||||
|
||||
public Localizer T { get; set; }
|
||||
|
||||
protected override string Prefix {
|
||||
get { return "WidgetPart"; }
|
||||
}
|
||||
|
||||
protected override DriverResult Editor(WidgetPart widgetPart, dynamic shapeHelper) {
|
||||
widgetPart.AvailableZones = _widgetsService.GetZones();
|
||||
widgetPart.AvailableLayers = _widgetsService.GetLayers();
|
||||
|
Reference in New Issue
Block a user