class NodeIdentityConverterAspect (View source)

Aspect to convert a node object to its context node path. This is used in URI building in order to make linking to nodes a lot easier.

On the long term, type converters should be able to convert the reverse direction as well, and then this aspect could be removed.

Methods

array
convertNodeToContextPathForRouting(JoinPointInterface $joinPoint)

Convert the object to its context path, if we deal with ContentRepository nodes.

Details

array convertNodeToContextPathForRouting(JoinPointInterface $joinPoint)

Convert the object to its context path, if we deal with ContentRepository nodes.

Parameters

JoinPointInterface $joinPoint

the joinpoint

Return Value

array

the context path to be used for routing