Files

17 lines
966 B
XML
Executable File

<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<virtualType name="Olegnax\Athlete2Slideshow\Model\ResourceModel\Slides\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
<arguments>
<argument name="mainTable" xsi:type="string">olegnax_athlete2slideshow_slides</argument>
<argument name="resourceModel" xsi:type="string">Olegnax\Athlete2Slideshow\Model\ResourceModel\Slides\Collection</argument>
</arguments>
</virtualType>
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<item name="olegnax_athlete2slideshow_slides_listing_data_source" xsi:type="string">Olegnax\Athlete2Slideshow\Model\ResourceModel\Slides\Grid\Collection</item>
</argument>
</arguments>
</type>
</config>