class StandardTreeCollection extends TreeCollection (View source)

Properties

protected EntryInterface[] $entries from  TreeCollection
protected GroupInterface[] $entryGroups from  TreeCollection

Methods

getEntries()

Get the list of sitemap entries.

addEntry(EntryInterface $entry)

Add an entry to the entry list.

addEntryGroup(GroupInterface $group)

Add a group to the group list.

getEntryGroups()

Get the list of sitemap groups.

bool
displayMenu()

Should the site locales menu be displayed?

Details

EntryInterface[] getEntries()

Get the list of sitemap entries.

addEntry(EntryInterface $entry)

Add an entry to the entry list.

Parameters

EntryInterface $entry

addEntryGroup(GroupInterface $group)

Add a group to the group list.

Parameters

GroupInterface $group

GroupInterface[] getEntryGroups()

Get the list of sitemap groups.

bool displayMenu()

Should the site locales menu be displayed?

Return Value

bool

See also

TreeCollectionInterface::displayMenu