mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
- Basic persistency for the widget/layer parts.
--HG-- branch : dev
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using JetBrains.Annotations;
|
||||
using Orchard.ContentManagement.Handlers;
|
||||
using Orchard.Data;
|
||||
using Orchard.Widgets.Models;
|
||||
|
||||
namespace Orchard.Widgets.Handlers {
|
||||
[UsedImplicitly]
|
||||
public class WidgetPartHandler : ContentHandler {
|
||||
public WidgetPartHandler(IRepository<WidgetPartRecord> widgetsRepository) {
|
||||
Filters.Add(StorageFilter.For(widgetsRepository));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user