Enter a type and click search.




Results for Magento\Eav\Model\EavCustomAttributeTypeLocator

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

<preference for="Magento\Framework\Webapi\CustomAttributeTypeLocatorInterface"
            type="Magento\Eav\Model\EavCustomAttributeTypeLocator"></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\Framework\Webapi\CustomAttributeTypeLocatorInterface object that it should return a Magento\Eav\Model\EavCustomAttributeTypeLocator object.

Results for Magento\Eav\Model\EavCustomAttributeTypeLocator

File: vendor/magento/magento2-base/dev/tests/api-functional/_files/Magento/TestModuleMSC/etc/di.xml

<type name="Magento\Eav\Model\EavCustomAttributeTypeLocator">
    <arguments>
        <argument name="serviceEntityTypeMap" xsi:type="array">
            <item name="Magento\TestModuleMSC\Api\AllSoapAndRestInterface"
                  xsi:type="string">
                1
            </item>
        </argument>
        <argument name="serviceBackendModelDataInterfaceMap"
                  xsi:type="array">
            <item name="Magento\TestModuleMSC\Api\AllSoapAndRestInterface"
                  xsi:type="array">
                <item name="Magento\Sample\BackendType1"
                      xsi:type="string">
                    Magento\TestModuleMSC\Api\Data\CustomAttributeDataObjectInterface
                </item>
                <item name="Magento\Sample\BackendType2"
                      xsi:type="string">
                    Magento\TestModuleMSC\Api\Data\CustomAttributeNestedDataObjectInterface
                </item>
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration has no area. We're classified it as not-area-from-tests.

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\Eav\Model\EavCustomAttributeTypeLocator

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

<type name="Magento\Eav\Model\EavCustomAttributeTypeLocator">
    <arguments>
        <argument name="serviceEntityTypeMap" xsi:type="array">
            <item name="Magento\Customer\Api\Data\CustomerInterface"
                  xsi:type="const">
                Magento\Customer\Api\CustomerMetadataInterface::ENTITY_TYPE_CUSTOMER
            </item>
        </argument>
        <argument name="serviceBackendModelDataInterfaceMap"
                  xsi:type="array">
            <item name="Magento\Customer\Api\Data\CustomerInterface"
                  xsi:type="array">
                <item name="Magento\Eav\Model\Attribute\Data\Image"
                      xsi:type="string">
                    Magento\Framework\Api\Data\ImageContentInterface
                </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...];