Guides

BreadCrumbNodeRenderer
in package
implements NodeRenderer

FinalYes

Table of Contents

Interfaces

NodeRenderer

Properties

$renderer  : TemplateRenderer
$template  : string

Methods

__construct()  : mixed
render()  : string
supports()  : bool
buildBreadcrumb()  : array<string|int, MenuEntryNode>
getBreadcrumbMaxLevel()  : int

Properties

Methods

supports()

public supports(string $nodeFqcn) : bool
Parameters
$nodeFqcn : string
Return values
bool

buildBreadcrumb()

private buildBreadcrumb(BreadCrumbNode $node, RenderContext $renderContext, DocumentEntryNode $documentEntry, array<string|int, MenuEntryNode$currentBreadcrumb, int $level, bool $isCurrent) : array<string|int, MenuEntryNode>
Parameters
$node : BreadCrumbNode
$renderContext : RenderContext
$documentEntry : DocumentEntryNode
$currentBreadcrumb : array<string|int, MenuEntryNode>
$level : int
$isCurrent : bool
Return values
array<string|int, MenuEntryNode>

        
On this page

Search results