public class ExtensionVariationResolver extends Object implements RenderableVariationResolver
Constructor and Description |
---|
ExtensionVariationResolver() |
Modifier and Type | Method and Description |
---|---|
protected 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 AggregationState getAggregationStateSafely()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.