magekey / module-xsd-merger
Magento 2 XSD Merger
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.0.13|~7.1.0
This package is auto-updated.
Last update: 2024-11-29 05:37:10 UTC
README
Installing the Extension
composer require magekey/module-xsd-merger
Example: Add after
attribute to link type
app/code/{Vendor}/{Module}/etc/xsd_merger/layout_merged.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:redefine schemaLocation="urn:magento:framework:View/Layout/etc/layout_merged.xsd">
<xs:complexType name="linkType">
<xs:complexContent>
<xs:extension base="linkType">
<xs:attribute name="after" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
</xs:schema>
Versions tested
2.2.5