interface GridField_SaveHandler implements GridFieldComponent (View source)

A component which is used to handle when a GridField is saved into a record.

Methods

public
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