src/Forms/FormRequestHandler.php
protected function getAllActions()
    {
        $fields = $this->form->Fields()->dataFields();
        $actions = $this->form->Actions()->dataFields();

        $fieldsAndActions = array_merge($fields, $actions);
        $actions = array_filter($fieldsAndActions, function ($fieldOrAction) {
            return $fieldOrAction instanceof FormAction;
        });

        return $actions;
    }
protected function getAllActions()
    {
        $fields = $this->form->Fields()->dataFields();
        $actions = $this->form->Actions()->dataFields();

        $fieldsAndActions = array_merge($fields, $actions);
        $actions = array_filter($fieldsAndActions, function ($fieldOrAction) {
            return $fieldOrAction instanceof FormAction;
        });

        return $actions;
    }
protected function getAllActions ( ) { $ fields = $ this -> form -> Fields ( ) -> dataFields ( ) ; $ actions = $ this -> form -> Actions ( ) -> dataFields ( ) ; $ fieldsAndActions = array_merge ( $ fields , $ actions ) ; $ actions = array_filter ( $ fieldsAndActions , function ( $ fieldOrAction ) { return $ fieldOrAction instanceof FormAction ; } ) ; return $ actions ; }
Get a list of all actions, including those in the main "fields" FieldList

@return array
Get a list of all actions including those in the main fields FieldList