function s3fs_update_8201 in S3 File System 8.2
Add public_folder and private_folder config items.
File
- ./
s3fs.install, line 166 - Install, update and uninstall functions for the S3 File System module.
Code
function s3fs_update_8201() {
$config_factory = \Drupal::configFactory();
$settings = $config_factory
->getEditable('s3fs.settings');
$settings
->set('public_folder', '')
->set('private_folder', '')
->save(TRUE);
}