FormBuilderController
class FormBuilderController extends Controller
Class FormBuilderController defines routes for form builder
Methods
array
newAction(ArrayCollection $formBuilderAdd)
Backend route for creating forms
array
JsonResponse
allJsonFormsAction(ArrayCollection $allFormsJSON)
API route for listing forms
JsonResponse
deleteFormJsonAction(ArrayCollection $deleteFormJSON)
API route for deleting forms
array
gridAction()
Backend route for listing forms
array
displayFormAction()
Frontend for displaying form
JsonResponse
saveFormAction(ArrayCollection $saveFormJSON)
API route for saving form
RedirectResponse
Details
at line 47
array
newAction(ArrayCollection $formBuilderAdd)
Backend route for creating forms
at line 67
array
editAction(Form $form, ArrayCollection $formBuilderAdd)
Backend route for editing forms
at line 84
JsonResponse
allJsonFormsAction(ArrayCollection $allFormsJSON)
API route for listing forms
at line 99
JsonResponse
deleteFormJsonAction(ArrayCollection $deleteFormJSON)
API route for deleting forms
at line 113
array
gridAction()
Backend route for listing forms
at line 127
array
displayFormAction()
Frontend for displaying form
at line 145
JsonResponse
saveFormAction(ArrayCollection $saveFormJSON)
API route for saving form
at line 165
RedirectResponse
sendFormAction(Form $form, Request $request)
Handle form submit