class FilamentManager (View source)

Properties

protected string $globalSearchProvider
protected bool $isNavigationMounted
protected array $navigationGroups
protected array $navigationItems
protected array $pages
protected array $resources
protected array $beforeCoreScripts
protected array $scripts
protected array $scriptData
protected array $styles
protected array $meta
protected Htmlable|null $theme
protected array $userMenuItems
protected array $widgets
protected Closure|null $navigationBuilder
protected array $renderHooks
protected bool $isServing

Methods

Guard
auth()

No description

void
navigation(Closure $builder)

No description

array
buildNavigation()

No description

void
globalSearchProvider(string $provider)

No description

void
mountNavigation()

No description

void
registerNavigationGroups(array $groups)

No description

void
registerNavigationItems(array $items)

No description

void
registerPages(array $pages)

No description

void
registerRenderHook(string $name, Closure $callback)

No description

void
registerResources(array $resources)

No description

void
registerScripts(array $scripts, bool $shouldBeLoadedBeforeCoreScripts = false)

No description

void
registerScriptData(array $data)

No description

void
registerStyles(array $styles)

No description

void
registerTheme(Htmlable|null $theme)

No description

void
registerViteTheme(string|array $theme, string|null $buildDirectory = null)

No description

void
registerUserMenuItems(array $items)

No description

void
registerWidgets(array $widgets)

No description

void
pushMeta(array $meta)

No description

void
setServingStatus(bool $condition = true)

No description

void
serving(Closure $callback)

No description

void
notify(string $status, string $message, bool $isAfterRedirect = false) deprecated

No description

Htmlable
renderHook(string $name)

No description

array
getNavigation()

No description

array
getNavigationGroups()

No description

array
getNavigationItems()

No description

array
getPages()

No description

array
getResources()

No description

array
getUserMenuItems()

No description

string|null
getModelResource(Model $model)

No description

array
getScripts()

No description

array
getBeforeCoreScripts()

No description

array
getScriptData()

No description

array
getStyles()

No description

string
getThemeUrl() deprecated

No description

Htmlable
getThemeLink()

No description

string|null
getUrl()

No description

string
getUserAvatarUrl(Authenticatable $user)

No description

string
getUserName(Authenticatable $user)

No description

array
getWidgets()

No description

array
getMeta()

No description

bool
isServing()

No description

Details

Guard auth()

No description

Return Value

Guard

void navigation(Closure $builder)

No description

Parameters

Closure $builder

Return Value

void

array buildNavigation()

No description

Return Value

array

void globalSearchProvider(string $provider)

No description

Parameters

string $provider

Return Value

void

void mountNavigation()

No description

Return Value

void

void registerNavigationGroups(array $groups)

No description

Parameters

array $groups

Return Value

void

void registerNavigationItems(array $items)

No description

Parameters

array $items

Return Value

void

void registerPages(array $pages)

No description

Parameters

array $pages

Return Value

void

void registerRenderHook(string $name, Closure $callback)

No description

Parameters

string $name
Closure $callback

Return Value

void

void registerResources(array $resources)

No description

Parameters

array $resources

Return Value

void

void registerScripts(array $scripts, bool $shouldBeLoadedBeforeCoreScripts = false)

No description

Parameters

array $scripts
bool $shouldBeLoadedBeforeCoreScripts

Return Value

void

void registerScriptData(array $data)

No description

Parameters

array $data

Return Value

void

void registerStyles(array $styles)

No description

Parameters

array $styles

Return Value

void

void registerTheme(Htmlable|null $theme)

No description

Parameters

Htmlable|null $theme

Return Value

void

void registerViteTheme(string|array $theme, string|null $buildDirectory = null)

No description

Parameters

string|array $theme
string|null $buildDirectory

Return Value

void

void registerUserMenuItems(array $items)

No description

Parameters

array $items

Return Value

void

void registerWidgets(array $widgets)

No description

Parameters

array $widgets

Return Value

void

void pushMeta(array $meta)

No description

Parameters

array $meta

Return Value

void

void setServingStatus(bool $condition = true)

No description

Parameters

bool $condition

Return Value

void

void serving(Closure $callback)

No description

Parameters

Closure $callback

Return Value

void

void notify(string $status, string $message, bool $isAfterRedirect = false) deprecated

deprecated Use `\Filament\Notifications\Notification::send()` instead.

No description

Parameters

string $status
string $message
bool $isAfterRedirect

Return Value

void

GlobalSearchProvider getGlobalSearchProvider()

No description

Return Value

GlobalSearchProvider

Htmlable renderHook(string $name)

No description

Parameters

string $name

Return Value

Htmlable

array getNavigation()

No description

Return Value

array

array getNavigationGroups()

No description

Return Value

array

array getNavigationItems()

No description

Return Value

array

array getPages()

No description

Return Value

array

array getResources()

No description

Return Value

array

array getUserMenuItems()

No description

Return Value

array

string|null getModelResource(Model $model)

No description

Parameters

Model $model

Return Value

string|null

array getScripts()

No description

Return Value

array

array getBeforeCoreScripts()

No description

Return Value

array

array getScriptData()

No description

Return Value

array

array getStyles()

No description

Return Value

array

string getThemeUrl() deprecated

deprecated Use `getThemeLink()` instead.

No description

Return Value

string

No description

Return Value

Htmlable

string|null getUrl()

No description

Return Value

string|null

string getUserAvatarUrl(Authenticatable $user)

No description

Parameters

Authenticatable $user

Return Value

string

string getUserName(Authenticatable $user)

No description

Parameters

Authenticatable $user

Return Value

string

array getWidgets()

No description

Return Value

array

array getMeta()

No description

Return Value

array

bool isServing()

No description

Return Value

bool