You are here

How to Programmatically Display Form in Custom Block in Drupal 8

Error message

User error: Failed to connect to memcache server: localhost:11212 in dmemcache_object() (line 415 of /home/freedrup/public_html/demo/d7/sites/all/modules/memcache/

Most often we may want to show our custom forms in blocks. Here are the simple steps to accomplish this.