Drupal8: Programmatically create a form and block
Submitted by saru1683 onThis CodeLet let you programmatically create a form page and render same form on a block.
Create custom module and follow CodeLet instruction to create a form and block programmatically.