Class I18nExtension
java.lang.Object
io.pebbletemplates.pebble.extension.AbstractExtension
io.pebbletemplates.pebble.extension.i18n.I18nExtension
- All Implemented Interfaces:
Extension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUse this method to provide custom functions.Methods inherited from class io.pebbletemplates.pebble.extension.AbstractExtension
getAttributeResolver, getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperators
-
Constructor Details
-
I18nExtension
public I18nExtension()
-
-
Method Details
-
getFunctions
Description copied from interface:Extension
Use this method to provide custom functions.- Specified by:
getFunctions
in interfaceExtension
- Overrides:
getFunctions
in classAbstractExtension
- Returns:
- A list of functions. It is okay to return null.
-