| Current Path : /home/rtorresani/www/vendor/magento/module-customer/Test/Unit/CustomerData/_files/ |
| Current File : //home/rtorresani/www/vendor/magento/module-customer/Test/Unit/CustomerData/_files/sections.xml |
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Customer:etc/sections.xsd">
<!-- Actions 1-4 are specified in sections.xml file only -->
<!-- 1 - Action has one Section -->
<action name="sales/guest/reorder">
<section name="account"/>
</action>
<!-- 2 - Action has two Sections -->
<action name="sales/order/reorder">
<section name="account"/>
<section name="cart"/>
</action>
<!-- 3 - Action has two Sections and "*" -->
<action name="stores/store/switch">
<section name="account"/>
<section name="*"/>
<section name="cart"/>
</action>
<!-- 4 - Action has "empty_section" -->
<action name="directory/currency/switch"/>
<!-- Actions 5-12 are specified in files sections.xml and sections2.xml for merging -->
<!-- 5 - Action in both files has unique Section -->
<action name="customer/account/logout">
<section name="account"/>
</action>
<!-- 6 - Action in both files has at least one identical Section -->
<action name="customer/account/editPost">
<section name="account"/>
<section name="acc"/>
</action>
<!-- 7 - Action in both files has at least one identical Section and "*" -->
<action name="checkout/cart/delete">
<section name="account"/>
<section name="acc"/>
</action>
<!-- 8 - Action in both files has Section and "*" -->
<action name="customer/account/createPost">
<section name="account"/>
</action>
<!-- 9 - Action in both files has "*" and "*" -->
<action name="catalog/product_compare/add">
<section name="*"/>
</action>
<!-- 10 - Action in both files has Section and "empty_section" -->
<action name="catalog/product_compare/remove">
<section name="account"/>
<section name="acc"/>
</action>
<!-- 11 - Action in both files has "empty_section" and "empty_section" -->
<action name="catalog/product_compare/clear"/>
<!-- 12 - Action in both files has "*" and "empty_section" -->
<action name="checkout/cart/add">
<section name="*"/>
</action>
</config>