Log in
Model

GetAssetKeywords

Magento\MediaGallery\Model\Keyword\Command\GetAssetKeywords

What it does

This class retrieves all keywords associated with a specific media gallery asset by its ID.

Developers would use this when they need to display or process the keywords/tags assigned to an image or media file in Magento's media gallery.

Note that this class is deprecated as of version 100.4.0 and developers should use GetAssetsByIdsInterface instead.

Public Methods

  • execute()