@ConsumerType public interface Breadcrumb extends Component
Breadcrumb
Sling Model used for the /apps/core/wcm/components/breadcrumb
component.Modifier and Type | Field and Description |
---|---|
static String |
PN_HIDE_CURRENT
Name of the resource property that will indicate if the current page should not be present in the collection returned by
getItems() . |
static String |
PN_SHOW_HIDDEN
Name of the resource property that will indicate if pages that are hidden for navigation will still be displayed.
|
static String |
PN_START_LEVEL
Name of the resource property that will indicate from which level starting from the current page the items from the collection
returned by
getItems() will be accumulated. |
Modifier and Type | Method and Description |
---|---|
default @NotNull String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
default Collection<NavigationItem> |
getItems()
Creates collection of pages(from site hierarchy of current page) for the breadcrumb component
|
static final String PN_SHOW_HIDDEN
static final String PN_HIDE_CURRENT
getItems()
.static final String PN_START_LEVEL
getItems()
will be accumulated.default Collection<NavigationItem> getItems()
Collection
of breadcrumb itemsdefault
in 12.1.0@NotNull default @NotNull String getExportedType()
ComponentExporter
Returns the type of the resource for which the export is performed.
NOTE: methods whose JSON serialization would lead to the same JSON property name (":type") will not be serialized.
getExportedType
in interface Component
getExportedType
in interface ComponentExporter
ComponentExporter.getExportedType()
Copyright © 2010 - 2020 Adobe. All Rights Reserved