trait HandleTranslations (View source)

Methods

array
prepareFieldsBeforeCreateHandleTranslations(array $fields)

No description

array
prepareFieldsBeforeSaveHandleTranslations(TwillModelContract|null $object, array $fields)

No description

array
getFormFieldsHandleTranslations(TwillModelContract $object, array $fields)

No description

void
orderHandleTranslations(Builder $query, array $orders)

No description

array

Details

array prepareFieldsBeforeCreateHandleTranslations(array $fields)

No description

Parameters

array $fields

Return Value

array

array prepareFieldsBeforeSaveHandleTranslations(TwillModelContract|null $object, array $fields)

No description

Parameters

TwillModelContract|null $object
array $fields

Return Value

array

array getFormFieldsHandleTranslations(TwillModelContract $object, array $fields)

No description

Parameters

TwillModelContract $object
array $fields

Return Value

array

void orderHandleTranslations(Builder $query, array $orders)

No description

Parameters

Builder $query
array $orders

Return Value

void

array getPublishedScopesHandleTranslations()

No description

Return Value

array