Log in
Model

CompositeConfigProvider

Magento\Cms\Model\Wysiwyg\CompositeConfigProvider

What it does

This class manages configuration for different WYSIWYG editor adapters in Magento 2's CMS.

It dynamically loads the appropriate configuration processors for variables, widgets, galleries, and general WYSIWYG settings based on which editor is active (TinyMCE, etc.).

Developers use this when customizing or extending WYSIWYG editor functionality to ensure configurations are properly loaded for the selected editor type.

Public Methods

  • processVariableConfig()
  • processWidgetConfig()
  • processGalleryConfig()
  • processWysiwygConfig()