Delegate BlockPropertyValueConverterBase<TBlockModel, TBlockItemModel, TBlockLayoutItem, TBlockConfiguration, TBlockValue>.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, TBlockValue>.CreateBlockItemModelFromLayout blockItemModelCreator);
Parameters
Type | Name | Description |
---|---|---|
TBlock |
item | The block item to enrich. |
TBlock |
layoutItem | The block layout item for the block item being enriched. |
TBlock |
configuration | The configuration of the block. |
Block |
blockItemModelCreator | Delegate for creating new block items from block layout items. |
Returns
Type | Description |
---|---|
TBlock |