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-seobase/etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/mageworx/module-seobase/etc/di.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright © 2018 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\SeoBase\Api\Data\CustomCanonicalInterface" type="MageWorx\SeoBase\Model\CustomCanonical"/>
    <preference for="MageWorx\SeoBase\Api\CustomCanonicalRepositoryInterface" type="MageWorx\SeoBase\Model\CustomCanonicalRepository"/>
    <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument name="collections" xsi:type="array">
                <item name="mageworx_seobase_customcanonical_listing_data_source" xsi:type="string">MageWorx\SeoBase\Model\ResourceModel\CustomCanonical\Grid\Collection</item>
            </argument>
        </arguments>
    </type>
    <virtualType name="MageWorx\SeoBase\Model\ResourceModel\CustomCanonical\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
        <arguments>
            <argument name="mainTable" xsi:type="string">mageworx_seobase_custom_canonical</argument>
            <argument name="resourceModel" xsi:type="string">MageWorx\SeoBase\Model\ResourceModel\CustomCanonical</argument>
        </arguments>
    </virtualType>
    <!-- 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="meta_robots" xsi:type="string">meta_robots</item>
                </item>
            </argument>
        </arguments>
    </type>

    <type name="MageWorx\XmlSitemap\Model\ResourceModel\Catalog\Product">
        <arguments>
            <argument name="flexibleCanonicalFlag" xsi:type="boolean">true</argument>
        </arguments>
    </type>

    <type name="MageWorx\SeoBase\Model\CanonicalFactory">
        <arguments>
            <argument name="map" xsi:type="array">
                <item name="catalog_product_view" xsi:type="string">MageWorx\SeoBase\Model\Canonical\Product</item>
                <item name="catalog_category_view" xsi:type="string">MageWorx\SeoBase\Model\Canonical\Category</item>
                <item name="cms_index_index" xsi:type="string">MageWorx\SeoBase\Model\Canonical\Page</item>
                <item name="cms_page_view" xsi:type="string">MageWorx\SeoBase\Model\Canonical\Page</item>
            </argument>
        </arguments>
    </type>

    <type name="MageWorx\SeoBase\Model\HreflangsFactory">
        <arguments>
            <argument name="map" xsi:type="array">
                <item name="catalog_product_view" xsi:type="string">MageWorx\SeoBase\Model\Hreflangs\Product</item>
                <item name="catalog_category_view" xsi:type="string">MageWorx\SeoBase\Model\Hreflangs\Category</item>
                <item name="cms_index_index" xsi:type="string">MageWorx\SeoBase\Model\Hreflangs\HomePage</item>
                <item name="cms_index_defaultIndex" xsi:type="string">MageWorx\SeoBase\Model\Hreflangs\HomePage</item>
                <item name="cms_page_view" xsi:type="string">MageWorx\SeoBase\Model\Hreflangs\Page</item>
                <item name="mageworx_landingpagespro_landingpage_view" xsi:type="string">MageWorx\SeoBase\Model\Hreflangs\LandingPage</item>
            </argument>
        </arguments>
    </type>

    <type name="MageWorx\SeoBase\Model\Source\Hreflangs\PageTypes">
        <arguments>
            <argument name="types" xsi:type="array">
                <item name="product" xsi:type="string">Product</item>
                <item name="category" xsi:type="string">Category</item>
                <item name="cms" xsi:type="string">CMS Page</item>
            </argument>
        </arguments>
    </type>

    <type name="MageWorx\SeoAll\Model\Source\DisableSeoFeatures">
        <arguments>
            <argument name="options" xsi:type="array">
                <item name="SeoBase" xsi:type="array">
                    <item name="label" xsi:type="string" translate="true">SEO Base: Canonical Functionality / Hreflangs / Meta Robots</item>
                    <item name="value" xsi:type="string">SeoBase</item>
                </item>
            </argument>
        </arguments>
    </type>

</config>

Spamworldpro Mini