Log in
Factory

ConfigProviderFactory

Magento\Cms\Model\Wysiwyg\ConfigProviderFactory

What it does

This factory class creates instances of WYSIWYG editor configuration providers dynamically based on a provided class name.

Developers use this when they need to instantiate different types of WYSIWYG configuration providers at runtime, particularly when working with custom or third-party WYSIWYG editors in Magento's CMS module.

It provides flexibility by allowing the system to create different configuration provider implementations without hardcoding dependencies.

Public Methods

  • create()