Log in

MediaGalleryUi Module

Config

Model

This class provides access to the Media Gallery UI configuration settings stored in Magento's system configuration. Developers use this class to check...

Config\MediaGallery\Yesno

Model

This class provides Yes/No option values for configuration fields in the Media Gallery UI. Developers use this as a source model for admin configurati...

DeleteImage

Model

This class handles the physical deletion of media gallery images from the file system. Developers use this when they need to remove images from Magent...

Directories\GetDirectoryTree

Model

This class builds a hierarchical tree structure of media gallery directories for display in the admin UI. Developers would use this to retrieve the co...

GetAssetDetails

Model

This class retrieves and formats detailed information about media gallery assets for display in the admin UI. Developers use it when they need to show...

GetAssetUsageDetails

Model

This class retrieves detailed information about where a media gallery asset is being used throughout the Magento system. Developers would use this to...

GetDetailsByAssetId

Model

This model retrieves complete details about media gallery assets by their IDs. Developers use it when they need to display comprehensive asset informa...

InsertImageData

Model

This class is a data transfer object (DTO) that encapsulates information about an image being inserted into content, such as in a WYSIWYG editor. Deve...

InsertImageData\GetInsertImageData

Model

This class prepares image data for insertion into WYSIWYG editors in Magento 2. It retrieves image content, file size, and MIME type based on an encod...

Listing\DataProvider

Model

This data provider supplies media gallery image data to the admin UI grid listing. It retrieves and processes media assets based on search criteria, f...

Model\InsertImageDataInterface

Interface

This interface defines the contract for providing image data when inserting images into content within Magento's Media Gallery UI. Developers use this...

UpdateAsset

Model

This class handles updating media gallery asset information in Magento 2. Developers use it when they need to programmatically update asset metadata l...

UpdateAsset\SaveMetadataToFile

Model

This class saves metadata information (like title, description, keywords) directly into image files in the Magento media gallery. Developers use this...

UpdateAsset\UpdateKeywords

Model

This class handles updating keywords (tags) for media gallery assets in Magento 2. Developers use this when they need to programmatically assign or mo...

UploadImage

Model

This class handles uploading images to Magento's media storage system through the Media Gallery UI. Developers would use this when implementing custom...