Enter a type and click search.




Results for Magento\Framework\Config\View

File: vendor/magento/magento2-base/app/etc/di.xml

<type name="Magento\Framework\Config\View">
    <arguments>
        <argument name="fileName" xsi:type="string">
            view.xml
        </argument>
        <argument name="converter" xsi:type="object">
            Magento\Framework\Config\Converter
        </argument>
        <argument name="schemaLocator" xsi:type="object">
            Magento\Framework\Config\SchemaLocator
        </argument>
        <argument name="fileResolver" xsi:type="object">
            Magento\Framework\Config\FileResolver
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is the application level configuration (`app/etc/di.xml`) fo the object manager. It is not a part of a specific module, but will apply to all sub-applications in Magento 2 (cart, admin, api, cron, etc).

This configuration tells the Object Manager that when a user wants a Magento\Framework\Config\View object that the following arguments should be used in the foo object's constructor.

Results for Magento\Framework\Config\View

File: vendor/magento/module-product-video/etc/di.xml

<type name="Magento\Framework\Config\View">
    <arguments>
        <argument name="xpath" xsi:type="array">
            <item name="video" xsi:type="array">
                <item name="/view/media/videos" xsi:type="array">
                    <item name="id" xsi:type="string">
                        module
                    </item>
                </item>
                <item name="/view/media/videos/video" xsi:type="array">
                    <item name="id1" xsi:type="string">
                        id
                    </item>
                    <item name="id2" xsi:type="string">
                        type
                    </item>
                </item>
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Config\View object that the following arguments should be used in the foo object's constructor.

  • $xpath = [...items...];
Results for Magento\Framework\Config\View

File: vendor/magento/module-catalog/etc/di.xml

<type name="Magento\Framework\Config\View">
    <arguments>
        <argument name="xpath" xsi:type="array">
            <item name="image" xsi:type="array">
                <item name="/view/media/images" xsi:type="array">
                    <item name="id" xsi:type="string">
                        module
                    </item>
                </item>
                <item name="/view/media/images/image" xsi:type="array">
                    <item name="id1" xsi:type="string">
                        id
                    </item>
                    <item name="id2" xsi:type="string">
                        type
                    </item>
                </item>
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Config\View object that the following arguments should be used in the foo object's constructor.

  • $xpath = [...items...];