magento - Magento 2.2.6 中这个文件在哪里被称为 vendor/magento/module-customer/Block/Adminhtml/Edit.php?
问题描述
对于管理客户视图页面,Magento 使用 UI 表单作为“customer_form”。我想知道其他标签是如何被称为“订单”、“愿望清单”、“时事通讯”的。这些不是 UI 表单或 UI 网格。
请帮助我,这些选项卡是如何在客户查看/编辑页面中实现的。
谢谢!!!
解决方案
看看vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/
然后例如Newsletter.php
。Magento UI 通过
use Magento\Ui\Component\Layout\Tabs\TabInterface;
和
class Newsletter extends \Magento\Backend\Block\Widget\Form\Generic implements TabInterface
您可以在该类中找到选项卡的功能。
推荐阅读
- informatica - Informatica 记录方案
- java - 有界泛型类型和父类型有什么区别?
- arrays - 关于附加内置函数的一些问题
- azure - 如何在 azure Web 应用程序中捕获请求标头
- laravel - 在 laravel 5.8 中重新加载页面时粘贴页眉和页脚
- python - 如何在 Python 中使用 remove0()
- php - bash 脚本创建虚拟文件系统并将其挂载到特定目录
- r - 我如何找到哪个国家完成马拉松的平均时间最短?
- flutter - 我的 TextOverflow.ellipsis 是否导致我的文本向右移动?
- c++ - QUiLoader 在 Mac 上看不到自定义插件中定义的信号