Fix breaking change
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using Umbraco.Cms.Core.Composing;
|
||||
using Umbraco.Cms.Core.Dashboards;
|
||||
using Umbraco.Cms.Core.Media;
|
||||
@@ -84,6 +85,10 @@ namespace Umbraco.Cms.Core.DependencyInjection
|
||||
return builder;
|
||||
}
|
||||
|
||||
[Obsolete("Use AddEmbedProvider instead. This will be removed in Umbraco 10")]
|
||||
public static IUmbracoBuilder AddOEmbedProvider<T>(this IUmbracoBuilder builder)
|
||||
where T : class, IEmbedProvider => AddEmbedProvider<T>(builder);
|
||||
|
||||
/// <summary>
|
||||
/// Register a section.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user