Enter a type and click search.

Results for mediaGallerySearchResult

File: vendor/magento/module-media-gallery-ui/etc/di.xml

<virtualType name="mediaGallerySearchResult"
        <argument name="mainTable" xsi:type="string">
        <argument name="resourceModel" xsi:type="string">

This is a virtual type configuration.

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

This virtualType configuration tells the Object Manager when a user wants a virtual mediaGallerySearchResult object that it should return a Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult object.

This configuration tells the Object Manager that when a user wants a mediaGallerySearchResult object that the following arguments should be used in the foo object's constructor.

  • $mainTable = "media_gallery_asset_grid";
  • $resourceModel = "Magento\MediaGalleryUi\Model\ResourceModel\Grid\Asset";