ContentNavigationCollectionInterface
in
Interface AssetCollectionInterface
Tags
Table of Contents
- add() : mixed
- Adds a new page to the collection.
Methods
add()
Adds a new page to the collection.
public
add(StringType $name, StringType $url, BoolType $current) : mixed
Parameters
- $name : StringType
-
The page name to be displayed must be already translated.
- $url : StringType
-
The page url to be displayed.
- $current : BoolType
-
Whether the provided page is the one currently displayed.