avstudnitz / scopehint2
当配置值在较低作用域(网站或商店视图)被覆盖时显示提示。
1.2.2
2023-04-06 08:52 UTC
Requires
- magento/framework: ~102.0|~103.0
- magento/module-config: ~100.0|~101.0
This package is auto-updated.
Last update: 2024-09-06 11:56:22 UTC
README
当配置值在较低作用域(网站或商店视图)被覆盖时显示提示。
事实
- 版本:1.0.0-beta.1
- GitHub上的扩展
- 直接下载链接
- Composer密钥:
avstudnitz/scopehint2
(已在Packagist注册)
描述
每当配置设置被较低级别的网站或商店视图覆盖时,都会显示一个图标。鼠标悬停时,将显示覆盖设置的 所有商店/网站及其相应值。查看截图以了解模块的功能。
模块还会显示与配置字段一起使用的配置代码(用于ScopeConfigInterface::getValue()
)。
需求
- PHP >= 5.6.0
兼容性
- Magento >= 2.1.0(在2.0.x上未测试)
安装说明
通过Composer
- 在命令行中,从Magento根目录调用
composer require avstudnitz/scopehint2
通过下载
- 将所有文件复制到Magento 2根目录中新建的目录
app/code/AvS/ScopeHint/
在两种情况下
- 通过调用
bin/magento module:enable AvS_ScopeHint
启用扩展。 - 运行
bin/magento setup:upgrade
。
卸载
- 通过调用
bin/magento module:uninstall AvS_ScopeHint
卸载扩展。 - 从
app/code/AvS/ScopeHint/
中删除所有扩展文件,或者如果您使用Composer安装了扩展,则使用Composer删除扩展。
支持
如果您与此扩展有任何问题,请在GitHub上提交问题。
贡献
任何贡献都受到高度赞赏。最佳贡献代码的方式是在GitHub上打开一个pull request。
开发者
Andreas von Studnitz,integer_net
许可证
版权
(c) 2017 Andreas von Studnitz / integer_net GmbH