Hi.
I have tried to define new action in getCMSAction under DataObject.
But it does not working.
My code:
public function getCMSActions() {
$fields = parent::getCMSActions();
$fields->push(new FormAction('doProcess','Process') );
return $fields;
}
What I doing wrong?
Thank for your help