nova-breadcrumbs
nova-breadcrumbs copied to clipboard
resourceBreadcrumbs is not working
Nova version: v4.32.15 (Silver Surfer)
public function resourceBreadcrumbs(NovaRequest $request, Breadcrumbs $breadcrumbs, array $breadcrumbArray) {
Log::info('resourceBreadcrumbs' , ['request' => $request, 'breadcrumbs' => $breadcrumbs, 'breadcrumbArray' => $breadcrumbArray]);
$breadcrumbs->items = [Breadcrumb::make('Home', '/')];
return $breadcrumbArray;
}
I even don't get the log, like is never called the function. I'm doing something wrong?