final class BreadcrumbComponent (View source)

Methods

frontend(string $currentLabel, string|null $currentUrl = null)
admin(string $currentLabel, string|null $currentUrl = null)
string
render(BreadcrumbTrail|null $trail)
string

Details

__construct

__construct(BreadcrumbFactory $factory, BreadcrumbRenderer $renderer)

No description

Parameters

BreadcrumbFactory $factory
BreadcrumbRenderer $renderer

frontend

BreadcrumbTrail frontend(string $currentLabel, string|null $currentUrl = null)

No description

Parameters

string $currentLabel
string|null $currentUrl

Return Value

BreadcrumbTrail

admin

BreadcrumbTrail admin(string $currentLabel, string|null $currentUrl = null)

No description

Parameters

string $currentLabel
string|null $currentUrl

Return Value

BreadcrumbTrail

empty

No description

Return Value

BreadcrumbTrail

render

string render(BreadcrumbTrail|null $trail)

No description

Parameters

BreadcrumbTrail|null $trail

Return Value

string