trait FusionViewI18nTrait (View source)

Properties

protected Service $i18nService

Methods

void
setFallbackRuleFromDimension(TraversableNodeInterface $currentSiteNode)

If a content dimension named "language" exists, it is used to set the locale fallback chain order for rendering based on that.

Details

protected void setFallbackRuleFromDimension(TraversableNodeInterface $currentSiteNode)

If a content dimension named "language" exists, it is used to set the locale fallback chain order for rendering based on that.

This overrides the fallback order from Neos.Flow.i18n.fallbackRule.order - the strict flag is kept from the settings!

Parameters

TraversableNodeInterface $currentSiteNode

Return Value

void

Exceptions

InvalidLocaleIdentifierException