i am new to drupal i want to make custom page with form , i googled and was able to built custom form using guide at Link

but i need form as part of my page content not just form so basically i need custom page with form ,please guide me with this .

Have i to recode it or can use buildForm at certain place in my html, please help me with suitable link or guide

1 Answer 1


You need to create a route, and a controller that builds the response on that route - in your case a form.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.