You are here

geocoder_autocomplete.install in Geocoder autocomplete 8

Geocoder Autocomplete install.

File

geocoder_autocomplete.install
View source
<?php

/**
 * @file
 * Geocoder Autocomplete install.
 */

/**
 * Initialize region code bias setting.
 */
function example_update_8001() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('geocoder_autocomplete.settings');
  $config
    ->set('region_code_bias', '');
  $config
    ->save(TRUE);
}

Functions

Namesort descending Description
example_update_8001 Initialize region code bias setting.