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.