Model
Config
Magento\Variable\Model\Variable\Config
What it does
This class configures the Variable plugin for Magento's WYSIWYG editor (TinyMCE), enabling users to insert custom and default variables into content areas like CMS pages and email templates.
Developers use this class to customize how variables appear in the editor toolbar, define available variables, and set up the variable chooser modal URL.
Public Methods
- getWysiwygPluginSettings()
- getWysiwygJsPluginSrc()
- getVariablesWysiwygActionUrl()