You are here

function example_update_8001 in Geocoder autocomplete 8

Initialize region code bias setting.

File

./geocoder_autocomplete.install, line 11
Geocoder Autocomplete install.

Code

function example_update_8001() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('geocoder_autocomplete.settings');
  $config
    ->set('region_code_bias', '');
  $config
    ->save(TRUE);
}