src/Forms/HTMLEditor/HTMLEditorConfig.php
public static function get($identifier = null)
    {
        if (!$identifier) {
            return static::get_active();
        }
        // Create new instance if unconfigured
        if (!isset(self::$configs[$identifier])) {
            self::$configs[$identifier] = static::create();
            self::$configs[$identifier]->setOption('editorIdentifier', $identifier);
        }
        return self::$configs[$identifier];
    }
public static function get($identifier = null)
    {
        if (!$identifier) {
            return static::get_active();
        }
        // Create new instance if unconfigured
        if (!isset(self::$configs[$identifier])) {
            self::$configs[$identifier] = static::create();
            self::$configs[$identifier]->setOption('editorIdentifier', $identifier);
        }
        return self::$configs[$identifier];
    }
public static function get ( $ identifier = null ) { if ( ! $ identifier ) { return static :: get_active ( ) ; } // Create new instance if unconfigured if ( ! isset ( self :: $ configs [ $ identifier ] ) ) { self :: $ configs [ $ identifier ] = static :: create ( ) ; self :: $ configs [ $ identifier ] -> setOption ( 'editorIdentifier' , $ identifier ) ; } return self :: $ configs [ $ identifier ] ; }
Get the HTMLEditorConfig object for the given identifier. This is a correct way to get an HTMLEditorConfig
instance - do not call 'new'

@param string $identifier The identifier for the config set. If omitted, the active config is returned.
@return static The configuration object.
This will be created if it does not yet exist for that identifier
Get the HTMLEditorConfig object for the given identifier . This is a correct way to get an HTMLEditorConfig instance - do not call new