Files
2026-09-15 10:35:56 +08:00

19 lines
991 B
XML

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<item name="esun_ai_mascot_participant_listing_data_source" xsi:type="string">EsunAiMascotParticipantGridCollection</item>
</argument>
</arguments>
</type>
<virtualType name="EsunAiMascotParticipantGridCollection"
type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
<arguments>
<argument name="mainTable" xsi:type="string">esun_campaign_registration</argument>
<argument name="resourceModel" xsi:type="string">Esun\AiMascotCampaign\Model\ResourceModel\Registration</argument>
</arguments>
</virtualType>
</config>