Neos\ContentRepository\Domain\Service\PublishingService::sortNodesForPublishing PHP Метод

sortNodesForPublishing() защищенный Метод

Sort an unsorted list of nodes in a publishable order
protected sortNodesForPublishing ( array $nodes ) : array
$nodes array Unsorted list of nodes (unpublished nodes)
Результат array Sorted list of nodes for publishing
    protected function sortNodesForPublishing(array $nodes)
    {
        $sorter = new NodePublishingDependencySolver();
        return $sorter->sort($nodes);
    }