您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin 2 年前
..
Block checkin 2 年前
Controller/Adminhtml/Widget checkin 2 年前
Helper checkin 2 年前
Model checkin 2 年前
Setup checkin 2 年前
Test checkin 2 年前
etc checkin 2 年前
i18n checkin 2 年前
view checkin 2 年前
LICENSE.txt checkin 2 年前
LICENSE_AFL.txt checkin 2 年前
README.md checkin 2 年前
composer.json checkin 2 年前
registration.php checkin 2 年前

README.md

Magento_Widget module

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

Installation details

Before installing this module, note that the Magento_Widget 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 the Magento_Widget module. For more information about the Magento extension mechanism, see Magento plug-ins.

The Magento dependency injection mechanism enables you to override the functionality of the Magento_Widget 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.