function system_post_update_remove_path_key
Same name and namespace in other branches
- main core/modules/system/system.post_update.php \system_post_update_remove_path_key()
Remove path key in system.file.
File
-
core/
modules/ system/ system.post_update.php, line 104
Code
function system_post_update_remove_path_key() : void {
if (\Drupal::config('system.file')->get('path') !== NULL) {
\Drupal::configFactory()->getEditable('system.file')
->clear('path')
->save();
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.