Skip to content

Commit

Permalink
Add ContentKey to IBlockReference and obsolete ContentUdi
Browse files Browse the repository at this point in the history
  • Loading branch information
kjac committed Oct 25, 2024
1 parent 2edbd7d commit 4f384f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Umbraco.Core/Models/Blocks/IBlockReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ public interface IBlockReference
/// <value>
/// The content UDI.
/// </value>
[Obsolete("Use ContentKey instead. Will be removed in V18.")]
Udi ContentUdi { get; }

/// <summary>
/// Gets the content key.
/// </summary>
public Guid ContentKey { get; set; }
}

/// <summary>
Expand Down

0 comments on commit 4f384f1

Please sign in to comment.