TractorCow\Fluent\Forms\DeleteAllLocalesAction
This class is a {@link GridField} component that adds a delete from locale action for objects.
Synopsis
class DeleteAllLocalesAction
implements
GridField_ColumnProvider,GridField_ActionProvider,GridField_ActionMenuItem
{
- // methods
- public string getTitle()
- public void getGroup()
- public array getExtraData()
- public void augmentColumns()
- public array getColumnAttributes()
- public array getColumnMetadata()
- public array getColumnsHandled()
- public array getActions()
- public string|null getColumnContent()
- public void handleAction()
- private GridField_FormAction|null getRemoveAction()
- protected void inEveryLocale()
- protected void inEveryStage()
Hierarchy
Implements
- SilverStripe\Forms\GridField\GridField_ColumnProvider
- SilverStripe\Forms\GridField\GridField_ActionProvider
- SilverStripe\Forms\GridField\GridField_ActionMenuItem
Methods
private
protected
- inEveryLocale() — Do an action in every locale
- inEveryStage() — Do an action in every stage (Live first)
public
- augmentColumns() — Add a column 'Delete'
- getActions() — Which GridField actions are this component handling
- getColumnAttributes() — Return any special attributes that will be used for FormField::create_tag()
- getColumnContent()
- getColumnMetadata() — Add the title
- getColumnsHandled() — Which columns are handled by this component
- getExtraData()
- getGroup()
- getTitle()
- handleAction() — Handle the actions and apply any changes to the GridField