Log in
Model

DefaultConfigProvider

Magento\Cms\Model\Wysiwyg\Gallery\DefaultConfigProvider

What it does

This class provides configuration for the WYSIWYG editor's image gallery/media browser in Magento 2's CMS module.

Developers would use this when customizing how the media browser dialog appears when inserting images into CMS content, including setting the browser window dimensions, URL parameters, and enabling image-related plugins for the TinyMCE editor.

Public Methods

  • getConfig()