public class DefaultFallbackTemplateDefinition extends Object implements FallbackTemplateDefinition
FallbackTemplateDefinition
. Override or extend to provide a
default, fallback TemplateDefinition
for a Site
.Constructor and Description |
---|
DefaultFallbackTemplateDefinition(info.magnolia.rendering.template.TemplateAvailability templateAvailability) |
Modifier and Type | Method and Description |
---|---|
info.magnolia.rendering.template.TemplateDefinition |
getFallbackTemplateDefinition()
Simply returns an empty
ConfiguredTemplateDefinition . |
@Inject public DefaultFallbackTemplateDefinition(info.magnolia.rendering.template.TemplateAvailability templateAvailability)
public info.magnolia.rendering.template.TemplateDefinition getFallbackTemplateDefinition()
ConfiguredTemplateDefinition
.getFallbackTemplateDefinition
in interface FallbackTemplateDefinition
Copyright © 2017 Magnolia International Ltd.. All rights reserved.