Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/mageworx/module-seoredirects/etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/mageworx/module-seoredirects/etc/di.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright © 2016 MageWorx. All rights reserved.
 * See LICENSE.txt for license details.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="MageWorx\SeoRedirects\Api\Data\CustomRedirectSearchResultsInterface"
                type="Magento\Framework\Api\SearchResults" />
    <preference for="MageWorx\SeoRedirects\Api\Data\CustomRedirectInterface"
                type="MageWorx\SeoRedirects\Model\Redirect\CustomRedirect" />
    <preference for="MageWorx\SeoRedirects\Api\CustomRedirectRepositoryInterface"
                type="MageWorx\SeoRedirects\Model\Redirect\CustomRedirectRepository" />

    <type name="MageWorx\SeoRedirects\Model\Redirect\CustomRedirect\RedirectWizardByDeletedUrlFactory">
        <arguments>
            <argument name="map" xsi:type="array">
                <item name="2" xsi:type="string">MageWorx\SeoRedirects\Model\Redirect\CustomRedirect\RedirectWizardByDeletedProductUrl</item>
                <item name="3" xsi:type="string">MageWorx\SeoRedirects\Model\Redirect\CustomRedirect\RedirectWizardByDeletedCategoryUrl</item>
                <item name="4" xsi:type="string">MageWorx\SeoRedirects\Model\Redirect\CustomRedirect\RedirectWizardByDeletedPageUrl</item>
            </argument>
        </arguments>
    </type>

    <type name="Magento\CatalogUrlRewrite\Observer\ProductProcessUrlRewriteRemovingObserver">
        <plugin name="mw_product_delete_plugin" type="MageWorx\SeoRedirects\Plugin\ProductProcessUrlRewriteRemovingObserverPlugin" sortOrder="1" disabled="false"/>
    </type>
    <type name="Magento\Catalog\Model\ResourceModel\Category">
        <plugin name="category_delete_plugin" disabled="true" />
    </type>
    <type name="Magento\Catalog\Model\ResourceModel\Category">
        <plugin name="mw_category_delete_plugin" type="MageWorx\SeoRedirects\Plugin\CategoryPlugin" sortOrder="1"/>
    </type>

    <virtualType name="MageWorxSeoRedirectsDpRedirectGridDataProvider" type="Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider">
        <arguments>
            <argument name="collection" xsi:type="object" shared="false">MageWorx\SeoRedirects\Model\ResourceModel\Redirect\DpRedirect\Collection</argument>
            <argument name="filterPool" xsi:type="object" shared="false">MageWorxSeoRedirectsDpGridFilterPool</argument>
        </arguments>
    </virtualType>
    <virtualType name="MageWorxSeoRedirectsDpGridFilterPool" 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>
    <type name="MageWorx\SeoRedirects\Model\ResourceModel\Redirect\DpRedirect\Grid\Collection">
        <arguments>
            <argument name="mainTable" xsi:type="string">mageworx_seoredirects_redirect_dp</argument>
            <argument name="eventPrefix" xsi:type="string">mageworx_seoredirects_redirect_grid_collection</argument>
            <argument name="eventObject" xsi:type="string">redirect_grid_collection</argument>
            <argument name="resourceModel" xsi:type="string">MageWorx\SeoRedirects\Model\ResourceModel\Redirect\DpRedirect</argument>
        </arguments>
    </type>
    <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument name="collections" xsi:type="array">
                <item name="mageworx_seoredirects_dpredirect_listing_data_source" xsi:type="string">MageWorx\SeoRedirects\Model\ResourceModel\Redirect\DpRedirect\Grid\Collection</item>
            </argument>
        </arguments>
    </type>
    <virtualType name="MageWorxSeoRedirectsCustomRedirectGridDataProvider" type="Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider">
        <arguments>
            <argument name="collection" xsi:type="object" shared="false">MageWorx\SeoRedirects\Model\ResourceModel\Redirect\CustomRedirect\Collection</argument>
            <argument name="filterPool" xsi:type="object" shared="false">MageWorxSeoRedirectsCustomGridFilterPool</argument>
        </arguments>
    </virtualType>
    <virtualType name="MageWorxSeoRedirectsCustomGridFilterPool" 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>
    <type name="MageWorx\SeoRedirects\Model\ResourceModel\Redirect\CustomRedirect\Grid\Collection">
        <arguments>
            <argument name="mainTable" xsi:type="string">mageworx_seoredirects_redirect_custom</argument>
            <argument name="eventPrefix" xsi:type="string">mageworx_seoredirects_redirect_custom_grid_collection</argument>
            <argument name="eventObject" xsi:type="string">redirect_custom_grid_collection</argument>
            <argument name="resourceModel" xsi:type="string">MageWorx\SeoRedirects\Model\ResourceModel\Redirect\CustomRedirect</argument>
        </arguments>
    </type>
    <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument name="collections" xsi:type="array">
                <item name="mageworx_seoredirects_customredirect_listing_data_source" xsi:type="string">MageWorx\SeoRedirects\Model\ResourceModel\Redirect\CustomRedirect\Grid\Collection</item>
            </argument>
        </arguments>
    </type>

    <!-- Fix for attribute scope for custom category attribute. @see https://github.com/magento/magento2/issues/13440 -->
    <type name="MageWorx\SeoAll\Plugin\AddCategoryCustomAttributesPlugin">
        <arguments>
            <argument name="data" xsi:type="array">
                <item name="search_engine_optimization" xsi:type="array">
                    <item name="redirect_priority" xsi:type="string">redirect_priority</item>
                </item>
            </argument>
        </arguments>
    </type>
</config>

Spamworldpro Mini