Class LocaleTargetIdManager

java.lang.Object
org.craftercms.engine.targeting.impl.AbstractTargetIdManager
org.craftercms.engine.targeting.impl.LocaleTargetIdManager
All Implemented Interfaces:
TargetIdManager

public class LocaleTargetIdManager extends AbstractTargetIdManager
Implementation of TargetIdManager that treats the Locale as a target ID. The current target ID is one returned by LocaleContextHolder.getLocale(), and if no available target IDs are specified in the site configuration, the available locales of the JVM will be used instead. The locales are always converted lower case.
Author:
avasquez