FilamentF
Filamentβ€’3y ago
Lara Zeus

get breadcrumbs in a render hook

how I can access breadcrumbs in a render hook
I want to move them to the topbar

->renderHook(
    'panels::topbar.start',
    fn (): View => view('filament.hooks.lang'),
)


and my view:

<div>
  @if ($breadcrumbs)
      <x-filament::breadcrumbs
              :breadcrumbs="$breadcrumbs"
              class="mb-2 hidden sm:block"
      />
  @endif
</div>

found this but where are the eggs πŸ˜… $breadcrumbs coming from!?

https://discord.com/channels/883083792112300104/883084832387760148/1141060061439987782
Was this page helpful?