TractorCow\Fluent\Forms\DeleteLocaleAction
Provides the "delete this locale" action
Synopsis
class DeleteLocaleAction
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() — Record must be published before it can be unpublished
- 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