Files
2017-11-14 15:04:59 +01:00

42 lines
2.4 KiB
XML
Executable File

<?xml version="1.0"?>
<!--
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<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="googlemapsstorelocator_storelocator_listing_data_source" xsi:type="string">FME\GoogleMapsStoreLocator\Model\ResourceModel\Storelocator\Grid\Collection</item>
</argument>
</arguments>
</type>
<type name="FME\GoogleMapsStoreLocator\Model\ResourceModel\Storelocator\Grid\Collection">
<arguments>
<argument name="mainTable" xsi:type="string">fme_googlemapsstorelocator</argument>
<argument name="eventPrefix" xsi:type="string">googlemapsstorelocator_storelocator_grid_collection</argument>
<argument name="eventObject" xsi:type="string">googlemapsstorelocator_storelocator_grid_collection</argument>
<argument name="resourceModel" xsi:type="string">FME\GoogleMapsStoreLocator\Model\ResourceModel\Storelocator</argument>
</arguments>
</type>
<virtualType name="GoogleMapsStoreLocatorStorelocatorGirdFilterPool" 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="GoogleMapsStoreLocatorStorelocatorGridDataProvider" type="Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider">
<arguments>
<argument name="collection" xsi:type="object" shared="false">FME\GoogleMapsStoreLocator\Model\ResourceModel\Storelocator\Collection</argument>
<argument name="filterPool" xsi:type="object" shared="false">GoogleMapsStoreLocatorStorelocatorGirdFilterPool</argument>
</arguments>
</virtualType>
</config>