How to create custom block plugin for webform in Drupal 8

by latikas   Last Updated December 05, 2017 09:07 AM

I need to create custom blocks for every new webform. When User will create a webform, module should create a custom webform block.E.G. 'webform-1' becomes 'webform-1-block'. The resulting block must be of type 'webform_block' and reference the newly created webform.

How should I achieve this functionality? Any reference?

Thanks in advance.

Related Questions

Problem extending BookNavigationBlock

Updated October 11, 2016 09:03 AM