SpatieLaravelTranslatablePlugin
class SpatieLaravelTranslatablePlugin implements Plugin (View source)
Properties
protected string[] | $defaultLocales | ||
protected Closure|null | $getLocaleLabelUsing |
Methods
__construct()
No description
make()
No description
string
getId()
No description
array
getDefaultLocales()
No description
defaultLocales(array|null $defaultLocales = null)
No description
void
string|null
getLocaleLabel(string $locale, string|null $displayLocale = null)
No description
Details
final
__construct()
No description
static SpatieLaravelTranslatablePlugin
make()
No description
string
getId()
No description
void
register(Panel $panel)
No description
void
boot(Panel $panel)
No description
array
getDefaultLocales()
No description
SpatieLaravelTranslatablePlugin
defaultLocales(array|null $defaultLocales = null)
No description
void
getLocaleLabelUsing(Closure|null $callback)
No description
string|null
getLocaleLabel(string $locale, string|null $displayLocale = null)
No description