DefaultConfigProvider
Magento\Cms\Model\Wysiwyg\Gallery\DefaultConfigProvider
What it does
This class provides configuration settings for the WYSIWYG editor's image gallery functionality in Magento 2's CMS module.
Developers use this class to configure the media browser dialog that appears when users click to insert images in content editors, including setting the dialog window dimensions, URL endpoints, and enabling image plugin features.
It's automatically invoked when rendering WYSIWYG editors that need image browsing capabilities.
Public Methods
- getConfig()