function rest_post_update_delete_settings in Drupal 9
Remove obsolete rest.settings configuration.
File
- core/
modules/ rest/ rest.post_update.php, line 22 - Post update functions for Rest.
Code
function rest_post_update_delete_settings() {
\Drupal::configFactory()
->getEditable('rest.settings')
->delete();
}