Is it possible to take a contact form and embed it into a page.html.twig or node.html.twig file? Or is the form only accessible via its contact/machine_name link?
5
-
1I would like to refer to a new main D8 question to help with all sub-questions like this here, caused by the open basic question, well documented here in details: drupal.stackexchange.com/questions/197149/… – nilsun Apr 6 '16 at 18:50
5
Check out Contact Storage.
Among various other features, like being able to store contact messsages, the latest version has a view builder that allows to display a referenced contact form (it's a config entity, so you can reference it using a standard entity reference field).
-
1I would like to refer to a new main D8 question to help with all sub-questions like this here, caused by the open basic question, well documented here in details: drupal.stackexchange.com/questions/197149/… – nilsun Apr 6 '16 at 18:50
-
And while this is a solution, it is actually not an answer regarding the exact question, but something tells me I shouldn't be too picky today ;-) – nilsun Apr 6 '16 at 21:44
-
Detailed info: peacog.com/drupal-blog/placing-contact-form-block-drupal-8 – Chris Happy Jul 11 at 4:53