src/Forms/DefaultFormFactory.php
protected function getFormActions(RequestHandler $controller = null, $name, $context = [])
    {
        // @todo Deprecate or formalise support for getCMSActions()
        $actions = $context['Record']->getCMSActions();
        $this->invokeWithExtensions('updateFormActions', $actions, $controller, $name, $context);
        return $actions;
    }
protected function getFormActions(RequestHandler $controller = null, $name, $context = [])
    {
        // @todo Deprecate or formalise support for getCMSActions()
        $actions = $context['Record']->getCMSActions();
        $this->invokeWithExtensions('updateFormActions', $actions, $controller, $name, $context);
        return $actions;
    }
protected function getFormActions ( RequestHandler $ controller = null , $ name , $ context = [ ] ) { // @todo Deprecate or formalise support for getCMSActions() $ actions = $ context [ 'Record' ] -> getCMSActions ( ) ; $ this -> invokeWithExtensions ( 'updateFormActions' , $ actions , $ controller , $ name , $ context ) ; return $ actions ; }
Build list of actions for this form

@param RequestHandler $controller
@param string $name
@param array $context
@return FieldList
Build list of actions for this form