geocoder_autocomplete.install in Geocoder autocomplete 8
Geocoder Autocomplete install.
File
geocoder_autocomplete.installView 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
Name | Description |
---|---|
example_update_8001 | Initialize region code bias setting. |