new GlobalFunctionNode()
new GlobalFunctionNode() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
new GlobalFunctionNode(string $name, Kirby\Query\AST\ArgumentListNode $arguments)
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
| $argumentsrequired | Kirby\Query\AST\ArgumentListNode |
no default value |