Frontend\Core\Engine\Breadcrumb::addElement PHP Method

addElement() public method

Add an element
public addElement ( string $title, string $url = null )
$title string The label that will be used in the breadcrumb.
$url string The URL for this item.
    public function addElement($title, $url = null)
    {
        $this->items[] = array('title' => (string) $title, 'url' => $url);
    }