Will use an already set uriPathSegment or alternatively the node name as base,
then checks if the uriPathSegment already exists on the same level and appends a counter until a unique path segment was found.
public static setUniqueUriPathSegment ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
Résultat | void |