src/Extensions/BetterButtonDataObject.php
public function getBetterButtonsUtils()
    {
        $buttons = $this->getDefaultButtonList("BetterButtonsUtils");
        $utils = $this->createFieldList($buttons);

        $this->owner->extend('updateBetterButtonsUtils', $utils);

        return $utils;
    }
public function getBetterButtonsUtils()
    {
        $buttons = $this->getDefaultButtonList("BetterButtonsUtils");
        $utils = $this->createFieldList($buttons);

        $this->owner->extend('updateBetterButtonsUtils', $utils);

        return $utils;
    }
Gets the default utils for all DataObjects. Can be overloaded in subclasses.
Utils are actions that appear in the top of the GridFieldDetailForm
<code>
public function getBetterButtonsUtils()
{
$utils = parent::getBetterButtonsUtils();
$utils->push(BetterButtonCustomAction::create('myaction','Do something to this record'));

return $utils;
}
</code>

@return FieldList