Created
August 7, 2024 13:58
-
-
Save neverything/1cde7dd4afad4aa4ac1b7358c59027b0 to your computer and use it in GitHub Desktop.
Filament Onboarding Manager Pro: Add Tenant Switcher to Onboarding Wizard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AdminPanelProvider extends PanelProvider | |
{ | |
public function boot(): void | |
{ | |
FilamentView::registerRenderHook( | |
PanelsRenderHook::BODY_START, | |
fn (): string => Blade::render('<x-tenant-menu />'), | |
scopes: [Onboard::class] | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment