mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
- Handler for content fields.
- Relies on the Activated event to weld fields to parts. - New event Initializing added to the content management lifecycle, old Activated event is now Initializing. - Unifying part and field template result classes. - Refactoring. --HG-- branch : dev
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Orchard.Core.Navigation.Handlers {
|
||||
Filters.Add(new ActivatingFilter<MenuPart>("menuitem"));
|
||||
Filters.Add(StorageFilter.For(menuPartRepository));
|
||||
|
||||
OnActivated<MenuPart>((ctx, x) => {
|
||||
OnInitializing<MenuPart>((ctx, x) => {
|
||||
x.OnMainMenu = false;
|
||||
x.MenuText = String.Empty;
|
||||
});
|
||||
|
Reference in New Issue
Block a user