mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00

- added a DisplayName to the ContentTypeDefinition - added a CreateRouteValues rvd to go along with the existing display and edit - set default display, edit and create route values for ContentItemMetadata (* should get fallback route values in a different manner. probably not good to refer to an area, even by string, in core from the fwk) - starting to shape up the content type list into a more consistent UI - added create type action, view, etc. for creating new content types - supporting service has a few default parts hard-coded for now --HG-- branch : dev
11 lines
466 B
C#
11 lines
466 B
C#
using System.Collections.Generic;
|
|
using Orchard.ContentManagement.MetaData.Models;
|
|
|
|
namespace Orchard.Core.Contents.Services {
|
|
public interface IContentDefinitionService : IDependency {
|
|
IEnumerable<ContentTypeDefinition> GetTypeDefinitions();
|
|
ContentTypeDefinition GetTypeDefinition(string name);
|
|
void AddTypeDefinition(ContentTypeDefinitionStub contentTypeDefinition);
|
|
void RemoveTypeDefinition(string name);
|
|
}
|
|
} |