我想请问一下模块module里面很多xml,是不是有一些xml是magento规定这样命名的;有没有一些xml文件命名是开发者自己命名的?

1.87K 浏览开发笔记magento2plugin

我想请问一下模块module里面很多xml,是不是有一些xml是magento规定这样命名的;有没有一些xml文件命名是开发者自己命名的?

我想请问一下模块module里面很多xml,是不是有一些xml是magento规定这样命名的;有没有一些xml文件命名是开发者自己命名的?

请问xml里面的标签的命名是怎样的?能帮忙贴一下文档链接吗

已回答
0

可以参考

https://devdocs.magento.com/guides/v2.4/config-guide/config/config-files.html

CONFIGURATION FILE DESCRIPTION STAGE CONFIGURATION OBJECT
address_formats.xml Address format declaration primary, global \Magento\Customer\Model\Address\Config
acl.xml Access Control List global \Magento\Framework\Acl\AclResource\Provider
analytics.xml Advanced reporting primary, global \Magento\Analytics\Model\Config\Reader
cache.xml Cache type declaration primary, global \Magento\Framework\Cache\Config\Data
catalog_attributes.xml Catalog attributes configuration global \Magento\Catalog\Model\Attribute\Config\Data
config.php and env.php Deployment configuration These files are readable/writeable by the internal config processor. Has no object, cannot be customized
config.xml System configuration primary, global \Magento\Framework\App\Config
communication.xml Defines aspects of the message queue system global \Magento\WebapiAsync\Code\Generator\Config\RemoteServiceReader\Communication
crontab.xml Configures cron groups global \Magento\Cron\Model\Config\Data
cron_groups.xml Specifies cron group options global \Magento\Cron\Model\Groups\Config\Data
db_schema.xml Declarative schema global Magento\Framework\Setup\Declaration\Schema
di.xml Dependency injection configuration primary, global, area \Magento\Framework\ObjectManager\Config
eav_attributes.xml Provides EAV attributes configuration global \Magento\Eav\Model\Entity\Attribute\Config
email_templates.xml Email templates configuration global \Magento\Email\Model\Template\Config\Data
esconfig.xml Elasticsearch locale stopwords config global \Magento\Elasticsearch\Model\Adapter\Index\Config\EsConfig
events.xml Event/observer configuration global, area \Magento\Framework\Event
export.xml Export entity configuration global \Magento\ImportExport\Model\Export\Config
extension_attributes.xml Extension attributes global \Magento\Framework\Api\ExtensionAttribute\Config
fieldset.xml Defines fieldsets global \Magento\Framework\DataObject\Copy\Config\Reader
indexer.xml Declares indexers global \Magento\Framework\Indexer\Config\Reader
import.xml Declares import entities global \Magento\ImportExport\Model\Import\Config
menu.xml Defines menu items for admin panel adminhtml \Magento\Backend\Model\Menu\Config\Reader
module.xml Defines module config data and soft dependency primary, global \Magento\Framework\Module\ModuleList\Loader
mview.xml MView configuration primary, global \Magento\Framework\Mview\Config\Data
payment.xml Payment module configuration primary, global \Magento\Payment\Model\Config
persistent.xml Magento_Persistent configuration file global \Magento\Persistent\Helper\Data
pdf.xml PDF settings global \Magento\Sales\Model\Order\Pdf\Config\Reader
product_options.xml Provides product options configuration global \Magento\Catalog\Model\ProductOptions\Config
product_types.xml Defines product type global \Magento\Catalog\Model\ProductTypes\Config
queue_consumer.xml Defines the relationship between an existing queue and its consumer global \Magento\Framework\MessageQueue\Consumer\Config\Xml\Reader
queue_publisher.xml Defines the exchange where a topic is published. global \Magento\WebapiAsync\Code\Generator\Config\RemoteServiceReader\Publisher
queue_topology.xml Defines the message routing rules, declares queues and exchanges global \Magento\Framework\MessageQueue\Topology\Config\Xml\Reader
reports.xml Advanced reports global \Magento\Analytics\ReportXml\Config
resources.xml Defines module resource global \Magento\Framework\App\ResourceConnection\Config\Reader
routes.xml Route configuration area Magento\Framework\App\Route\Config
sales.xml Defines sales total configuration global \Magento\Sales\Model\Config\Data
search_engine.xml Provides search engine configuration global Magento\Search\Model\SearchEngine\Config
search_request.xml Defines catalog search configuration global \Magento\Framework\Search\Request\Config
sections.xml Defines actions that trigger cache invalidation for private content blocks frontend SectionInvalidationConfigReader
system.xml Defines options for system configuration page adminhtml \Magento\Framework\App\Config
validation.xml Module validation configuration file global \Magento\Framework\Validator\Factory
view.xml Defines Vendor_Module view config values global \Magento\Framework\View\Config
webapi.xml Configures a web API global \Magento\Webapi\Model\Config
webapi_async.xml Defines REST custom routes global \Magento\WebapiAsync\Model\ServiceConfig
widget.xml Defines widgets global \Magento\Widget\Model\Config\Reader
zip_codes.xml Defines zip code format for each country global \Magento\Directory\Model\Country\Postcode\Config\Data

已回答
0
您正在查看1个回答中的1个,单击此处查看所有回答。