|
I am not sure if this is intended or not but as a customer reported there are way more methods available in the cmsfn templating function than we have in the documentation. In their case they needed one of the not documented ones and searched very long for it.
Code:
https://git.magnolia-cms.com/projects/PLATFORM/repos/main.pub/browse/magnolia-templating/src/main/java/info/magnolia/templating/functions/TemplatingFunctions.java
Documentation:
https://docs.magnolia-cms.com/product-docs/6.2/Developing/Templating/Template-scripts/Templating-functions/cmsfn.html
Missing examples: (there are more just to name some of them)
- public Node inherit(Node content)
- public Node inherit(Node content, String relPath)
- public Node inherit(Node content, String relPath, String nodeTypes, String nodeInheritance, String propertyInheritance)
- public boolean isInherited(Node content)
|