Skip to content

Commit 00f2ba8

Browse files
committed
Add default implementation to new CreateBlueprintFromContent method
1 parent 69c0b8a commit 00f2ba8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Umbraco.Core/Services/IContentService.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ public interface IContentService : IContentServiceBase<IContent>
5757
/// <summary>
5858
/// Creates a blueprint from a content item.
5959
/// </summary>
60-
IContent CreateBlueprintFromContent(IContent blueprint, string name, int userId = Constants.Security.SuperUserId);
60+
// TODO: Remove the default implementation when CreateContentFromBlueprint is removed.
61+
IContent CreateBlueprintFromContent(IContent blueprint, string name, int userId = Constants.Security.SuperUserId)
62+
=> throw new NotImplementedException();
6163

6264
/// <summary>
6365
/// (Deprecated) Creates a new content item from a blueprint.

0 commit comments

Comments
 (0)