AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CMSConfigurationEngine..::..GridSystemKeyConvert Method

Converts legacy grid system span keys (e.g., "span-6") to their current equivalents (e.g., "col-sm-6") based on the active grid system profile entries.

Namespace:  AdvantageCMS.Core.Admin.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public List<string> GridSystemKeyConvert(
	List<string> spanList,
	List<AdvantageGridSystemEntry> entries
)

Parameters

spanList
Type: List<(Of <(<'String>)>)>
The list of span keys to convert.
entries
Type: List<(Of <(<'AdvantageGridSystemEntry>)>)>
Optional grid system entries to use; defaults to the current grid system profile items.

Return Value

The updated list of span keys with legacy values replaced.