public class DefaultRenderableVariationResolver extends Object implements RenderableVariationResolver
Constructor and Description |
---|
DefaultRenderableVariationResolver() |
Modifier and Type | Method and Description |
---|---|
protected info.magnolia.cms.core.AggregationState |
getAggregationStateSafely()
This gets the aggregation state without throwing an exception if the current context is not a WebContext.
|
RenderableDefinition |
resolveVariation(RenderableDefinition renderableDefinition)
Returns the variation to use or null.
|
public RenderableDefinition resolveVariation(RenderableDefinition renderableDefinition)
RenderableVariationResolver
resolveVariation
in interface RenderableVariationResolver
protected info.magnolia.cms.core.AggregationState getAggregationStateSafely()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.