test-magenx/module-admin-notification

N/A

100.4.2 2021-10-10 22:16 UTC

README

The Magento_AdminNotification 模块允许管理员通过系统消息进行警报,并为调查和通知提供消息收件箱。

安装详情

The Magento_AdminNotification 模块在数据库中创建以下表

  • adminnotification_inbox
  • admin_system_messages

在禁用或卸载此模块之前,请注意 Magento_Indexer 模块依赖于此模块。

有关在 Magento 2 中安装模块的信息,请参阅启用或禁用模块

扩展性

扩展开发者可以与 Magento_AdminNotification 模块交互。有关 Magento 扩展机制的更多信息,请参阅Magento 插件

Magento 依赖注入机制使您能够覆盖 Magento_AdminNotification 模块的功能。

事件

此模块观察以下事件

  • controller_action_predispatch 事件在 Magento\AdminNotification\Observer\PredispatchAdminActionControllerObserver 文件中。

布局

此模块在 view/adminhtml/layout 目录中引入以下布局和布局处理程序

  • adminhtml_notification_index
  • adminhtml_notification_block

有关 Magento 2 中布局的更多信息,请参阅布局文档

UI 组件

您可以使用 view/adminhtml/ui_component/notification_area.xml 配置文件扩展管理员通知。

有关 Magento 2 中 UI 组件的信息,请参阅UI 组件概述