Files
Orchard/src/Orchard.Web/Modules/Orchard.Themes/ImportExport/CurrentThemeStep.cs
T
Sipke Schoorstra cb00640ecc #5375: Added current theme recipe step.
This enables exporting the current theme setting and restoring it during import.
2015-07-13 14:37:41 +01:00

19 lines
488 B
C#

using System.Collections.Generic;
using Orchard.Environment.Extensions;
using Orchard.Events;
namespace Orchard.Themes.ImportExport {
public interface ICustomExportStep : IEventHandler {
void Register(IList<string> steps);
}
[OrchardFeature("Orchard.Themes.ImportExportCurrentTheme")]
public class CurrentThemeStep : ICustomExportStep {
void ICustomExportStep.Register(IList<string> steps) {
steps.Add("CurrentTheme");
}
}
}