Stores the given value for the specified setting.
string $entity_type: The type of the entity the setting refer to.
string $bundle: The bundle of the entity the setting refer to.
string $setting: The name of the setting.
$value: The value to be stored for the given setting.
function translation_entity_set_config($entity_type, $bundle, $setting, $value) {
$key = translation_entity_get_config_key($entity_type, $bundle, $setting);
return config('translation_entity.settings')
->set($key, $value)
->save();
}