TractorCow\Fluent\Forms\SaveLocaleAction
Provides the "Save in this locale" action
Synopsis
class SaveLocaleAction
extends BaseAction
{
- // methods
- public void getTitle()
- public void getActions()
- public void handleAction()
- protected mixed appliesToRecord()
- protected GridField_FormAction|null getButtonAction()
- // Inherited methods from BaseAction
- protected abstract GridField_FormAction|null getButtonAction()
- protected abstract mixed appliesToRecord()
- public array|null getExtraData()
- public null|string getGroup()
- protected array getRecordAndLocale()
Hierarchy
Methods
protected
- appliesToRecord() — Item must either be localised, or filtered
- getButtonAction()
public
- getActions()
- getTitle()
- handleAction() — Handle an action on the given {@link GridField}.
Inherited from TractorCow\Fluent\Forms\BaseAction
protected
- appliesToRecord() — Check if this item is enabled for the given record in locale
- getButtonAction()
- getRecordAndLocale() — Given a gridfield, and either an ID or record, return a list with both the record being localised, and the locale object