Piwik\Settings\Plugin\SystemSettings::makeSettingManagedInConfigOnly PHP Method

makeSettingManagedInConfigOnly() protected method

This is only meant for some core features used by some core plugins that are shipped with Piwik
protected makeSettingManagedInConfigOnly ( string $configSectionName, $name, $defaultValue, $type, $fieldConfigCallback ) : SystemSetting
$configSectionName string
$name
$defaultValue
$type
$fieldConfigCallback
return SystemSetting
    protected function makeSettingManagedInConfigOnly($configSectionName, $name, $defaultValue, $type, $fieldConfigCallback)
    {
        $setting = new SystemConfigSetting($name, $defaultValue, $type, $this->pluginName, $configSectionName);
        $setting->setConfigureCallback($fieldConfigCallback);
        $this->addSetting($setting);
        return $setting;
    }