C# Class Alloy.Helpers.CategorizableExtensions

Provides extension methods for categorizable content
ICategorizable content includes for example pages and blocks.
Show file Open project: episerver/EPiTranslateFlowDemo

Public Methods

Method Description
GetThemeCssClassNames ( this content ) : string[]

Returns the CSS classes (if any) associated with the theme(s) of the content, as decided by its categories

Content's categorization may map to more than one theme. This method assumes there are website categories called "Meet", "Track", and "Plan"

Method Details

GetThemeCssClassNames() public static method

Returns the CSS classes (if any) associated with the theme(s) of the content, as decided by its categories
Content's categorization may map to more than one theme. This method assumes there are website categories called "Meet", "Track", and "Plan"
public static GetThemeCssClassNames ( this content ) : string[]
content this
return string[]