Enter a type and click search.




Results for Magento\Catalog\Api\Data\ProductInterface

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

<type name="Magento\Eav\Model\EavCustomAttributeTypeLocator">
    <arguments>
        <argument name="serviceEntityTypeMap" xsi:type="array">
            <item name="Magento\Catalog\Api\Data\ProductInterface"
                  xsi:type="const">
                Magento\Catalog\Api\Data\ProductAttributeInterface::ENTITY_TYPE_CODE
            </item>
        </argument>
        <argument name="serviceBackendModelDataInterfaceMap"
                  xsi:type="array">
            <item name="Magento\Catalog\Api\Data\ProductInterface"
                  xsi:type="array">
                <item name="Magento\Catalog\Model\Product\Attribute\Backend\Media"
                      xsi:type="string">
                    Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface
                </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\Eav\Model\EavCustomAttributeTypeLocator object that the following arguments should be used in the foo object's constructor.

  • $serviceEntityTypeMap = [...items...];
  • $serviceBackendModelDataInterfaceMap = [...items...];

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

<type name="Magento\Eav\Model\EavCustomAttributeTypeLocator">
    <arguments>
        <argument name="serviceEntityTypeMap" xsi:type="array">
            <item name="Magento\Catalog\Api\Data\ProductInterface"
                  xsi:type="const">
                Magento\Catalog\Api\Data\ProductAttributeInterface::ENTITY_TYPE_CODE
            </item>
        </argument>
        <argument name="serviceBackendModelDataInterfaceMap"
                  xsi:type="array">
            <item name="Magento\Catalog\Api\Data\ProductInterface"
                  xsi:type="array">
                <item name="Magento\Catalog\Model\Product\Attribute\Backend\Media"
                      xsi:type="string">
                    Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface
                </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\Eav\Model\EavCustomAttributeTypeLocator object that the following arguments should be used in the foo object's constructor.

  • $serviceEntityTypeMap = [...items...];
  • $serviceBackendModelDataInterfaceMap = [...items...];
Results for Magento\Catalog\Api\Data\ProductInterface

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

<preference for="Magento\Catalog\Api\Data\ProductInterface"
            type="Magento\Catalog\Model\Product"></preference>

This is a preference configuration.

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

This preference configuration tells the Object Manager when a user wants a Magento\Catalog\Api\Data\ProductInterface object that it should return a Magento\Catalog\Model\Product object.