You are here

function hal_post_update_delete_settings in Drupal 9

Remove obsolete hal.settings configuration key.

File

core/modules/hal/hal.post_update.php, line 11
Post update functions for Hal.

Code

function hal_post_update_delete_settings() {
  \Drupal::configFactory()
    ->getEditable('hal.settings')
    ->clear('bc_file_uri_as_url_normalizer')
    ->save();
}