Milkyway\SS\GridFieldUtils\FormatSwitcher::setFormatCallback
Sets a custom handler for when a format action is performed
Signature
public function setFormatCallback(callable
$callback )
Parameters
$callback
— object
Returns
- FormatSwitcher
- $this