protected function loadDefaultConfig(array $config)
    {
        $configurator = new PluginConfigurator;
        $validConfig = $configurator->validate(
            isset($config[self::PLUGIN_NAME]) ? $config[self::PLUGIN_NAME] : null
        );
        
        return $validConfig;
    }
protected function loadDefaultConfig(array $config)
    {
        $configurator = new PluginConfigurator;
        $validConfig = $configurator->validate(
            isset($config[self::PLUGIN_NAME]) ? $config[self::PLUGIN_NAME] : null
        );
        
        return $validConfig;
    }
protected function loadDefaultConfig ( array $ config ) { $ configurator = new PluginConfigurator ; $ validConfig = $ configurator -> validate ( isset ( $ config [ self :: PLUGIN_NAME ] ) ? $ config [ self :: PLUGIN_NAME ] : null ) ; return $ validConfig ; }
Applies a default plugin configuration to the Pico config file.

@param array $config Configuration of Pico CMS; plugin's specific
configuration is under PLUGIN_NAME index.
Applies a default plugin configuration to the Pico config file .