The method uses the theme's meta/static-pages.yaml file to build the hierarchy. The pages are returned
in the order defined in the YAML file. The result of the method is used for building the back-end UI
and for generating the menus.
public getPageTree ( boolean $skipCache = false ) : array | ||
$skipCache | boolean | Indicates if objects should be reloaded from the disk bypassing the cache. |
Результат | array | Returns a nested array of objects: object('page': $pageObj, 'subpages'=>[...]) |