trait Translatable (View source)

Traits

Properties

$activeLocale from  HasActiveFormLocaleSwitcher
$activeFormLocale from  HasActiveFormLocaleSwitcher
array|null $translatableLocales from  HasActiveFormLocaleSwitcher

Methods

string
getRecordTitle()

No description

void
setTranslatableLocales(array $locales)

No description

string|null
getActiveFormLocale()

No description

void
mount()

No description

void
setActiveFormLocale()

No description

Model
handleRecordCreation(array $data)

No description

array
getActions()

No description

Details

protected Action getActiveFormLocaleSelectAction()

No description

Return Value

Action

void updatedActiveLocale()

No description

Return Value

void

string getRecordTitle()

No description

Return Value

string

void setTranslatableLocales(array $locales)

No description

Parameters

array $locales

Return Value

void

array getTranslatableLocales()

No description

Return Value

array

string|null getActiveFormLocale()

No description

Return Value

string|null

void mount()

No description

Return Value

void

protected void setActiveFormLocale()

No description

Return Value

void

protected Model handleRecordCreation(array $data)

No description

Parameters

array $data

Return Value

Model

protected array getActions()

No description

Return Value

array