trait Translatable (View source)

Traits

Properties

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

Methods

string
getRecordTitle()

No description

void
setTranslatableLocales(array $locales)

No description

string|null
getActiveFormLocale()

No description

void
fillForm()

No description

void
setActiveFormLocale()

No description

Model
handleRecordUpdate(Model $record, array $data)

No description

void
updatedActiveFormLocale()

No description

void
updatingActiveFormLocale()

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

protected void fillForm()

No description

Return Value

void

protected void setActiveFormLocale()

No description

Return Value

void

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

No description

Parameters

Model $record
array $data

Return Value

Model

void updatedActiveFormLocale()

No description

Return Value

void

void updatingActiveFormLocale()

No description

Return Value

void

protected array getActions()

No description

Return Value

array