InsertImageDataInterface
Magento\MediaGalleryUi\Model\InsertImageDataInterface
What it does
This interface defines the contract for providing image data when inserting images into content within Magento's Media Gallery UI.
Developers use this to retrieve image metadata (content/HTML, file size, MIME type) needed to insert images into WYSIWYG editors or other content areas.
It's particularly useful when building custom media gallery integrations or extending image insertion functionality.
Public Methods
- getContent()
- getSize()
- getType()
- getExtensionAttributes()
- setExtensionAttributes()