Magento 2 embed Webforms in phtml

1
2
<?php
echo $this->getLayout()->createBlock('VladimirPopov\WebForms\Block\Form',
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Updated from the Webforms documentation. They are missing some commas and quotes.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.