Log in

MediaGalleryApi Module

Api\CreateDirectoriesByPathsInterface

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

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...