@umbraco-cms/backoffice
    Preparing search index...

    Function getFragments

    • Generates a path based on the router tree.

      Parameters

      • tree: RouterTree

        The router tree to generate the path from.

      • depth: number

        The depth to traverse the tree.

      Returns string[]

      The path fragments.