PHP Class Neos\Neos\Routing\NodeIdentityConverterAspect

On the long term, type converters should be able to convert the reverse direction as well, and then this aspect could be removed.
Show file Open project: neos/neos-development-collection

Public Methods

Method Description
convertNodeToContextPathForRouting ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : string | array Convert the object to its context path, if we deal with ContentRepository nodes.

Method Details

convertNodeToContextPathForRouting() public method

Convert the object to its context path, if we deal with ContentRepository nodes.
public convertNodeToContextPathForRouting ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : string | array
$joinPoint Neos\Flow\Aop\JoinPointInterface the joinpoint
return string | array the context path to be used for routing