src/Admin/AbstractAdmin.php
public function buildBreadcrumbs($action, MenuItemInterface $menu = null)
    {
        @trigger_error(
            'The '.__METHOD__.' method is deprecated since version 3.2 and will be removed in 4.0.',
            E_USER_DEPRECATED
        );

        if (isset($this->breadcrumbs[$action])) {
            return $this->breadcrumbs[$action];
        }

        return $this->breadcrumbs[$action] = $this->getBreadcrumbsBuilder()
            ->buildBreadcrumbs($this, $action, $menu);
    }
public function buildBreadcrumbs($action, MenuItemInterface $menu = null)
    {
        @trigger_error(
            'The '.__METHOD__.' method is deprecated since version 3.2 and will be removed in 4.0.',
            E_USER_DEPRECATED
        );

        if (isset($this->breadcrumbs[$action])) {
            return $this->breadcrumbs[$action];
        }

        return $this->breadcrumbs[$action] = $this->getBreadcrumbsBuilder()
            ->buildBreadcrumbs($this, $action, $menu);
    }
public function buildBreadcrumbs ( $ action , MenuItemInterface $ menu = null ) { @ trigger_error ( 'The ' . __METHOD__ . ' method is deprecated since version 3.2 and will be removed in 4.0.' , E_USER_DEPRECATED ) ; if ( isset ( $ this -> breadcrumbs [ $ action ] ) ) { return $ this -> breadcrumbs [ $ action ] ; } return $ this -> breadcrumbs [ $ action ] = $ this -> getBreadcrumbsBuilder ( ) -> buildBreadcrumbs ( $ this , $ action , $ menu ) ; }
Generates the breadcrumbs array.

Note: the method will be called by the top admin instance (parent => child)

@param string $action

@return array
Generates the breadcrumbs array .