What is the equivalent class for Mage_Widget_Block_Interface in Magento2

I need to

class Vendor_Module_Block_Related_Search extends Mage_Core_Block_Template implements Mage_Widget_Block_Interface

in Magento2


You can get it from here,


You can get it example of core file,

app/code/vendor/magento-sales/Block/Widget/Guest/Form.php file

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.