Delegate BlockPropertyValueConverterBase<TBlockModel, TBlockItemModel, TBlockLayoutItem, TBlockConfiguration>.EnrichBlockItemModelFromConfiguration
Enriches a block item after it has been created by the block item activator. Use this to set block item data based on concrete block layout and configuration.
Namespace: Umbraco.Cms.Core.PropertyEditors.ValueConverters
Assembly: Umbraco.Infrastructure.dll
Syntax
protected delegate TBlockItemModel EnrichBlockItemModelFromConfiguration(TBlockItemModel item, TBlockLayoutItem layoutItem, TBlockConfiguration configuration, BlockPropertyValueConverterBase<TBlockModel, TBlockItemModel, TBlockLayoutItem, TBlockConfiguration>.CreateBlockItemModelFromLayout blockItemModelCreator);
Parameters
Type | Name | Description |
---|---|---|
TBlockItemModel | item | The block item to enrich. |
TBlockLayoutItem | layoutItem | The block layout item for the block item being enriched. |
TBlockConfiguration | configuration | The configuration of the block. |
BlockPropertyValueConverterBase.CreateBlockItemModelFromLayout<> | blockItemModelCreator | Delegate for creating new block items from block layout items. |
Returns
Type | Description |
---|---|
TBlockItemModel |