1

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

1

You can get it from here,

app/code/vendor/magento/module-widget/Block/BlockInterface.php

You can get it example of core file,

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

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.