I basically want to use a php Eel-Helper to do the same that Neos.Neos:NodeUri does in a Fusionfile (i.e. give me the uri of a node). The reason behind this is that I am using the Elasticsearch-Plugin and want to add the complete path of a Node to the Index.
The yaml of the Node to be indexed looks like this:
But it doesn’t work (Iww\NodeTypes\Eel\Helper\Indexing_Original::createUri(): Return value must be of type string, null returned) and I feel like I am missing something - can anyone help?
I am using my own helper as I don’t see how this Helper could help me . I experimented with it but found no good way to use it for my purposes (generating the uri of a node and index it to elastic). How would you use this helper in this situation, could you maybe give some pinters?
You can just use this helper as inspiration on how to build the proper context for the uri builder, then you need to check the logs if no Uri is generated. It should contain a hint on what’s going on.