Log in
Model

SaveAssetLinks

Magento\MediaGallery\Model\ResourceModel\Keyword\SaveAssetLinks

What it does

This class manages the relationship between media gallery assets and their associated keywords by saving, updating, and deleting links in the database.

Developers use this when they need to assign keywords/tags to media assets or update an asset's keyword associations, such as during media upload or when editing asset metadata.

Public Methods

  • execute()