/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Cache/etc/cache.xsd
41 строка
1 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <!-- /** * Copyright 2014 Adobe * All Rights Reserved. */ --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="cacheType"> <xs:annotation> <xs:documentation> Cache type declaration </xs:documentation> </xs:annotation> <xs:all> <xs:element name="label" type="xs:string" minOccurs="1" maxOccurs="1"/> <xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1"/> </xs:all> <xs:attribute type="xs:string" name="name" use="required"/> <xs:attribute type="xs:string" name="translate" use="optional"/> <xs:attribute type="xs:string" name="instance" use="required"/> </xs:complexType> <xs:element name="config" type="configType"> <xs:unique name="uniqueCacheName"> <xs:annotation> <xs:documentation> Cache name must be unique. </xs:documentation> </xs:annotation> <xs:selector xpath="type"/> <xs:field xpath="@name"/> </xs:unique> </xs:element> <xs:complexType name="configType"> <xs:sequence> <xs:element type="cacheType" name="type" maxOccurs="unbounded" minOccurs="1"/> </xs:sequence> </xs:complexType> </xs:schema>