public interface NavTreeBuilder
Modifier and Type | Method and Description |
---|---|
NavItem |
getNavTree(String url,
int depth,
String currentPageUrl)
Returns the navigation tree with the specified depth for the specified store URL.
|
NavItem |
getNavTree(String url,
int depth,
String currentPageUrl,
org.craftercms.commons.converters.Converter<SiteItem,NavItem> itemConverter)
Returns the navigation tree with the specified depth for the specified store URL.
|
NavItem getNavTree(String url, int depth, String currentPageUrl)
url
- the root folder of the treedepth
- the depth of the treecurrentPageUrl
- the URL of the current page (used to determine the active URLs).Copyright © 2019 CrafterCMS. All rights reserved.