MediaGalleryApi Module
Api\CreateDirectoriesByPathsInterface
This interface defines a contract for creating multiple directories in the media gallery file system. Developers use this when they need to programmat...
Api\Data\AssetInterface
This interface defines the contract for media gallery asset data objects in Magento 2. Developers use it to work with media assets (images, videos) st...
Api\Data\AssetKeywordsInterface
This interface defines the contract for managing keywords associated with media gallery assets in Magento 2. Developers use it to retrieve an asset's...
Api\Data\KeywordInterface
This interface defines the structure for media gallery keyword entities in Magento 2. Developers use it to manage keywords associated with media asset...
Api\DeleteAssetsByPathsInterface
This interface defines a contract for deleting media assets from Magento's media gallery by their file paths. Developers would use implementations of...
Api\DeleteDirectoriesByPathsInterface
This interface defines a contract for deleting multiple media gallery directories by their file system paths. Developers would implement or use this i...
Api\GetAssetsByIdsInterface
This interface defines a contract for retrieving multiple media gallery assets by their IDs. Developers use this when they need to fetch specific medi...
Api\GetAssetsByPathsInterface
This interface defines a contract for retrieving media gallery asset information by providing an array of file paths. Developers use this when they ne...
Api\GetAssetsKeywordsInterface
This interface defines a contract for retrieving keywords associated with media gallery assets. Developers use this when they need to fetch keyword me...
Api\IsPathExcludedInterface
This interface defines a contract for checking if a specific file system path should be excluded from the Magento Media Gallery. Developers use this t...
Api\SaveAssetsInterface
This interface defines a contract for saving media gallery assets (images, videos, etc.) to the database in Magento 2. Developers use this when they n...
Api\SaveAssetsKeywordsInterface
This interface defines a contract for saving keywords/tags associated with media gallery assets in Magento 2. Developers implement or use this interfa...
Api\SearchAssetsInterface
This interface defines a contract for searching media gallery assets in Magento 2. Developers use this to retrieve media assets (images, videos, etc.)...
Model\Asset\Command\DeleteByDirectoryPathInterface
This interface defines a command for deleting media gallery assets based on a directory path. Developers would implement this interface to create serv...
Model\Asset\Command\DeleteByPathInterface
This interface defines a contract for deleting media gallery assets by their file path. Developers would implement this interface to create services t...
Model\Asset\Command\GetByIdInterface
This interface defines a command for retrieving a single media gallery asset by its ID. Developers would use implementations of this interface when th...
Model\Asset\Command\GetByPathInterface
This interface defines a command to retrieve a media gallery asset by its file path. Developers would use this to fetch detailed information about a s...
Model\Asset\Command\SaveInterface
This interface defines a command for saving media gallery assets in Magento 2's media gallery system. Developers would implement this interface to per...
Model\ExcludedPatternsConfigInterface
This interface defines a contract for retrieving regular expression patterns used to exclude certain files or paths from the Media Gallery. Developers...
Model\Keyword\Command\GetAssetKeywordsInterface
This interface defines a contract for retrieving keywords associated with a specific media gallery asset by its ID. Developers would use implementatio...
Model\Keyword\Command\SaveAssetKeywordsInterface
This interface defines a command for saving keywords/tags to a media gallery asset in Magento 2. Developers would use this to associate descriptive ke...