Back to Magento2

Magento_Widget module

app/code/Magento/Widget/README.md

2.4.81.5 KB
Original Source

Magento_Widget module

This module allows Magento application to be extended with custom widget blocks.

Installation details

Before installing this module, note that this module is dependent on the following modules:

  • Magento_Catalog
  • Magento_Cms
  • Magento_Store

Before disabling or uninstalling this module, note the following dependencies:

  • Magento_CatalogWidget
  • Magento_CurrencySymbol
  • Magento_Newsletter

Refer to how to enable or disable modules in Magento 2.

Extensibility

Extension developers can interact with this module. For more information about the extension mechanism, see Plugins.

The dependency injection mechanism enables you to override the functionality of this module.

Layouts

This module introduces the following layouts and layout handles in the directories:

  • view/adminhtml/layout:
    • adminhtml_widget_index
    • adminhtml_widget_instance_block
    • adminhtml_widget_instance_edit
    • adminhtml_widget_instance_index
    • adminhtml_widget_loadoptions
  • view/frantend/layout:
    • default
    • print

For more information about a layout, see the Layout documentation.