Model
ContentIdentity
Magento\MediaContent\Model\ContentIdentity
What it does
This class represents the identity of content that contains media assets in Magento 2.
Developers use it to track which specific entity (like a product, category, or CMS page), field, and record ID contains media content, enabling the system to establish relationships between media assets and the content where they're used.
Public Methods
- getEntityType()
- getEntityId()
- getField()
- getExtensionAttributes()
- setExtensionAttributes()