Search Results for

    Show / Hide Table of Contents
    View Source

    Class SingleBlockEditorDataConverter

    Data converter for the single block property editor

    Inheritance
    object
    BlockEditorDataConverter<SingleBlockValue, SingleBlockLayoutItem>
    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: Umbraco.Core.dll
    Syntax
    public class SingleBlockEditorDataConverter : BlockEditorDataConverter<SingleBlockValue, SingleBlockLayoutItem>

    Constructors

    View Source

    SingleBlockEditorDataConverter(IJsonSerializer)

    Declaration
    public SingleBlockEditorDataConverter(IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    IJsonSerializer jsonSerializer

    Methods

    View Source

    GetBlockReferences(IEnumerable<SingleBlockLayoutItem>)

    Return the collection of IBlockReference from the block editor's Layout

    Declaration
    protected override IEnumerable<ContentAndSettingsReference> GetBlockReferences(IEnumerable<SingleBlockLayoutItem> layout)
    Parameters
    Type Name Description
    IEnumerable<SingleBlockLayoutItem> layout
    Returns
    Type Description
    IEnumerable<ContentAndSettingsReference>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX