Interface
ContentIdentityInterface
Magento\MediaContentApi\Api\Data\ContentIdentityInterface
What it does
This interface defines a data structure that identifies where media content is located within Magento entities.
Developers use it to track and reference media assets embedded in specific fields of entities like product descriptions, CMS pages, or category content.
It provides a standardized way to pinpoint exactly which field of which entity contains media references.
Public Methods
- getEntityType()
- getEntityId()
- getField()
- getExtensionAttributes()
- setExtensionAttributes()