Log in
Interface

KeywordInterface

Magento\MediaGalleryApi\Api\Data\KeywordInterface

What it does

This interface defines the structure for media gallery keyword entities in Magento 2.

Developers use it to manage keywords associated with media assets, enabling tagging and categorization of images and other media files.

It provides methods to retrieve keyword IDs, keyword text values, and handle extension attributes for customization.

Public Methods

  • getId()
  • getKeyword()
  • getExtensionAttributes()
  • setExtensionAttributes()