interface GridField_SaveHandler implements GridFieldComponent (View source)

A component which is used to handle when a {@link GridField} is saved into a record.

Methods

handleSave(GridField $grid, DataObjectInterface $record)

Called when a grid field is saved - i.e. the form is submitted.

Details

handleSave(GridField $grid, DataObjectInterface $record)

Called when a grid field is saved - i.e. the form is submitted.

Parameters

GridField $grid
DataObjectInterface $record