interface ContentDimensionSourceInterface (View source)

The content dimension source interface

Methods

ContentDimension|null
getDimension(ContentDimensionId $dimensionId)

Returns a content dimension by its identifier, if available

array
getContentDimensionsOrderedByPriority()

Returns all available content dimensions in correct order of priority, indexed by identifier

Details

ContentDimension|null getDimension(ContentDimensionId $dimensionId)

Returns a content dimension by its identifier, if available

Parameters

ContentDimensionId $dimensionId

Return Value

ContentDimension|null

array getContentDimensionsOrderedByPriority()

Returns all available content dimensions in correct order of priority, indexed by identifier

Return Value

array