'10.0.0', ]; } /** * Updates update.settings:fetch.url config if it's still at the default. */ function update_post_update_set_blank_fetch_url_to_null() { $update_settings = \Drupal::configFactory()->getEditable('update.settings'); if ($update_settings->get('fetch.url') === '') { $update_settings ->set('fetch.url', NULL) ->save(TRUE); } }