| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?xml version="1.0"?>
- <!--
- /**
- * Mageplaza_Core extension
- * NOTICE OF LICENSE
- *
- * This source file is subject to the Mageplaza License
- * that is bundled with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * https://www.mageplaza.com/LICENSE.txt
- *
- * @category Mageplaza
- * @package Mageplaza_Core
- * @copyright Copyright (c) 2016
- * @license https://www.mageplaza.com/LICENSE.txt Mageplaza License
- */
- -->
- <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
- <virtualType name="MageplazaCoreGirdFilterPool" 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="MageplazaCoreCoreGridDataProvider" type="Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider">
- <arguments>
- <argument name="collection" xsi:type="object" shared="false">Mageplaza\Core\Model\ResourceModel\Core\Collection</argument>
- <argument name="filterPool" xsi:type="object" shared="false">MageplazaCoreGirdFilterPool</argument>
- </arguments>
- </virtualType>
- <type name="Mageplaza\Core\Model\ResourceModel\Core\Grid\Collection">
- <arguments>
- <argument name="mainTable" xsi:type="string">mageplaza_core_core</argument>
- <argument name="eventPrefix" xsi:type="string">mageplaza_core_core_grid_collection</argument>
- <argument name="eventObject" xsi:type="string">core_grid_collection</argument>
- <argument name="resourceModel" xsi:type="string">Mageplaza\Core\Model\ResourceModel\Core</argument>
- </arguments>
- </type>
- <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
- <arguments>
- <argument name="collections" xsi:type="array">
- <item name="mageplaza_core_core_listing_data_source" xsi:type="string">Mageplaza\Core\Model\ResourceModel\Core\Grid\Collection</item>
- </argument>
- </arguments>
- </type>
- </config>
|