R
R
Roman2019-03-14 18:19:52
Drupal
Roman, 2019-03-14 18:19:52

Drupal 8 how to add a form to a page?

Drupal 8
How to display a custom form on a page (material)?
When you create a form in a module, it is displayed on the site.
But if you create a material (page) and set the same path for it, then the page will be displayed.
How to add this form to the desired page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2019-03-15
@gagablik

Create a block with a form , display the block, limit the visibility of the block to the desired page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question