src/Forms/HTMLEditor/TinyMCECombinedGenerator.php
protected function checkName(TinyMCEConfig $config)
    {
        $configs = HTMLEditorConfig::get_available_configs_map();
        foreach ($configs as $id => $name) {
            if (HTMLEditorConfig::get($id) === $config) {
                return $id;
            }
        }
        return 'custom';
    }
protected function checkName(TinyMCEConfig $config)
    {
        $configs = HTMLEditorConfig::get_available_configs_map();
        foreach ($configs as $id => $name) {
            if (HTMLEditorConfig::get($id) === $config) {
                return $id;
            }
        }
        return 'custom';
    }
protected function checkName ( TinyMCEConfig $ config ) { $ configs = HTMLEditorConfig :: get_available_configs_map ( ) ; foreach ( $ configs as $ id => $ name ) { if ( HTMLEditorConfig :: get ( $ id ) === $ config ) { return $ id ; } } return 'custom' ; }
Check if this config is registered under a given key

@param TinyMCEConfig $config
@return string
Check if this config is registered under a given key