I have to get all children block in controller using parent block name or layout Magento 2.
Thanks in advanced.
blockscontrollersmagento2
I have to get all children block in controller using parent block name or layout Magento 2.
Thanks in advanced.
Best Answer
Make sure your controller is same which loads the layout in which your block and its child blocks exits.