|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / app / code / Swissup / CheckoutFields / etc / |
Filename | /home/dev2.destoffenstraat.com/app/code/Swissup/CheckoutFields/etc/di.xml |
Size | 2.79 kb |
Permission | rwxrwxrwx |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 06-Jun-2022 13:07 |
Last accessed | 23-Aug-2025 02:07 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="Swissup\CheckoutFields\Api\Data\FieldInterface" type="Swissup\CheckoutFields\Model\Field" />
<preference for="Swissup\CheckoutFields\Api\Data\FieldDataInterface" type="Swissup\CheckoutFields\Model\FieldData"/>
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<item name="checkoutfields_field_listing_data_source" xsi:type="string">Swissup\CheckoutFields\Model\ResourceModel\Field\Grid\Collection</item>
</argument>
</arguments>
</type>
<type name="Swissup\CheckoutFields\Model\ResourceModel\Field\Grid\Collection">
<arguments>
<argument name="mainTable" xsi:type="string">swissup_checkoutfields_field</argument>
<argument name="eventPrefix" xsi:type="string">checkoutfields_field_grid_collection</argument>
<argument name="eventObject" xsi:type="string">checkoutfields_grid_collection</argument>
<argument name="resourceModel" xsi:type="string">Swissup\CheckoutFields\Model\ResourceModel\Field</argument>
</arguments>
</type>
<virtualType name="CheckoutFieldsGridFilterPool" type="Magento\Framework\View\Element\UiComponent\DataProvider\FilterPool">
<arguments>
<argument name="appliers" xsi:type="array">
<item name="regular" xsi:type="object">Magento\Framework\View\Element\UiComponent\DataProvider\RegularFilter</item>
<item name="fulltext" xsi:type="object">Magento\Framework\View\Element\UiComponent\DataProvider\FulltextFilter</item>
</argument>
</arguments>
</virtualType>
<virtualType name="CheckoutFieldsGridDataProvider" type="Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider">
<arguments>
<argument name="collection" xsi:type="object" shared="false">Swissup\CheckoutFields\Model\ResourceModel\Field\Collection</argument>
<argument name="filterPool" xsi:type="object" shared="false">CheckoutFieldsGridFilterPool</argument>
</arguments>
</virtualType>
<type name="Magento\Checkout\Api\PaymentInformationManagementInterface">
<plugin name="swissup-checkout-fields-payment-information-management" type="Swissup\CheckoutFields\Plugin\Model\PaymentInformationManagementPlugin"/>
</type>
<type name="Magento\Checkout\Api\GuestPaymentInformationManagementInterface">
<plugin name="swissup-checkout-fields-guest-payment-information-management" type="Swissup\CheckoutFields\Plugin\Model\GuestPaymentInformationManagementPlugin"/>
</type>
</config>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="Swissup\CheckoutFields\Api\Data\FieldInterface" type="Swissup\CheckoutFields\Model\Field" />
<preference for="Swissup\CheckoutFields\Api\Data\FieldDataInterface" type="Swissup\CheckoutFields\Model\FieldData"/>
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<item name="checkoutfields_field_listing_data_source" xsi:type="string">Swissup\CheckoutFields\Model\ResourceModel\Field\Grid\Collection</item>
</argument>
</arguments>
</type>
<type name="Swissup\CheckoutFields\Model\ResourceModel\Field\Grid\Collection">
<arguments>
<argument name="mainTable" xsi:type="string">swissup_checkoutfields_field</argument>
<argument name="eventPrefix" xsi:type="string">checkoutfields_field_grid_collection</argument>
<argument name="eventObject" xsi:type="string">checkoutfields_grid_collection</argument>
<argument name="resourceModel" xsi:type="string">Swissup\CheckoutFields\Model\ResourceModel\Field</argument>
</arguments>
</type>
<virtualType name="CheckoutFieldsGridFilterPool" type="Magento\Framework\View\Element\UiComponent\DataProvider\FilterPool">
<arguments>
<argument name="appliers" xsi:type="array">
<item name="regular" xsi:type="object">Magento\Framework\View\Element\UiComponent\DataProvider\RegularFilter</item>
<item name="fulltext" xsi:type="object">Magento\Framework\View\Element\UiComponent\DataProvider\FulltextFilter</item>
</argument>
</arguments>
</virtualType>
<virtualType name="CheckoutFieldsGridDataProvider" type="Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider">
<arguments>
<argument name="collection" xsi:type="object" shared="false">Swissup\CheckoutFields\Model\ResourceModel\Field\Collection</argument>
<argument name="filterPool" xsi:type="object" shared="false">CheckoutFieldsGridFilterPool</argument>
</arguments>
</virtualType>
<type name="Magento\Checkout\Api\PaymentInformationManagementInterface">
<plugin name="swissup-checkout-fields-payment-information-management" type="Swissup\CheckoutFields\Plugin\Model\PaymentInformationManagementPlugin"/>
</type>
<type name="Magento\Checkout\Api\GuestPaymentInformationManagementInterface">
<plugin name="swissup-checkout-fields-guest-payment-information-management" type="Swissup\CheckoutFields\Plugin\Model\GuestPaymentInformationManagementPlugin"/>
</type>
</config>