Breadcrumb implements LoggerAwareInterface uses LoggerAwareTrait
FinalYes
Breadcrumb component, building breadcrumbs for the backend doc header.
This component uses a provider-based architecture:
- BreadcrumbProviderInterface implementations generate breadcrumb nodes
- Providers are selected based on the context type (record, resource, etc.)
This class is a specific Backend implementation and is not part of the TYPO3's Core API.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Interfaces
- LoggerAwareInterface
Methods
- __construct() : mixed
- getBreadcrumb() : array<string|int, BreadcrumbNode>
- Generates breadcrumb nodes from a breadcrumb context.
Methods
__construct()
public
__construct(iterable<string|int, BreadcrumbProviderInterface> $providers) : mixed
Parameters
- $providers : iterable<string|int, BreadcrumbProviderInterface>
getBreadcrumb()
Generates breadcrumb nodes from a breadcrumb context.
public
getBreadcrumb(ServerRequestInterface|null $request, BreadcrumbContext|null $context) : array<string|int, BreadcrumbNode>
Parameters
- $request : ServerRequestInterface|null
-
The current request for module detection
- $context : BreadcrumbContext|null
-
The breadcrumb context containing main entity and suffix nodes
Return values
array<string|int, BreadcrumbNode> —Array of breadcrumb nodes