trait Translatable (View source)

Traits

Properties

string|null $activeLocale from  HasActiveLocaleSwitcher
$otherLocaleData from  HasTranslatableFormWithExistingRecordData
protected string|null $oldActiveLocale

Methods

string|null
getActiveFormsLocale()

No description

string|null
getActiveActionsLocale()

No description

Model
getRecord()

No description

array
getTranslatableLocales()

No description

Model
handleRecordUpdate(Model $record, array $data)

No description

void
updatingActiveLocale()

No description

void
updatedActiveLocale()

No description

void
setActiveLocale(string $locale)

No description

Details

string|null getActiveFormsLocale()

No description

Return Value

string|null

string|null getActiveActionsLocale()

No description

Return Value

string|null

string|null getFilamentTranslatableContentDriver()

No description

Return Value

string|null

| null

protected void fillForm()

No description

Return Value

void

protected string getDefaultTranslatableLocale()

No description

Return Value

string

Model getRecord()

No description

Return Value

Model

array getTranslatableLocales()

No description

Return Value

array

protected Model handleRecordUpdate(Model $record, array $data)

No description

Parameters

Model $record
array $data

Return Value

Model

void updatingActiveLocale()

No description

Return Value

void

void updatedActiveLocale()

No description

Return Value

void

void setActiveLocale(string $locale)

No description

Parameters

string $locale

Return Value

void