protected function loadBreadcrumbs()
    {
        breadcrumbs()->register($this->breadcrumbsContainer, function(Builder $bc) {
            $bc->parent('main');

            if ( ! empty($this->breadcrumbsItems)) {
                foreach ($this->breadcrumbsItems as $crumb) {
                    $bc->push($crumb['title'], $crumb['url'], $crumb['data'] ?? []);
                }
            }
        });
    }
protected function loadBreadcrumbs()
    {
        breadcrumbs()->register($this->breadcrumbsContainer, function(Builder $bc) {
            $bc->parent('main');

            if ( ! empty($this->breadcrumbsItems)) {
                foreach ($this->breadcrumbsItems as $crumb) {
                    $bc->push($crumb['title'], $crumb['url'], $crumb['data'] ?? []);
                }
            }
        });
    }
protected function loadBreadcrumbs ( ) { breadcrumbs ( ) -> register ( $ this -> breadcrumbsContainer , function ( Builder $ bc ) { $ bc -> parent ( 'main' ) ; if ( ! empty ( $ this -> breadcrumbsItems ) ) { foreach ( $ this -> breadcrumbsItems as $ crumb ) { $ bc -> push ( $ crumb [ 'title' ] , $ crumb [ 'url' ] , $ crumb [ 'data' ] ?? [ ] ) ; } } } ) ; }
Load all breadcrumbs.
Load all breadcrumbs .