function geocoder_update_8201 in Geocoder 8.3
Same name and namespace in other branches
- 8.2 geocoder.install \geocoder_update_8201()
Adds geocoder_presave_disabled configuration and schema.
File
- ./
geocoder.install, line 16 - Install, update, and uninstall functions for geocoder.
Code
function geocoder_update_8201() {
// Update geocoder configuration.
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('geocoder.settings');
$config
->set('geocoder_presave_disabled', FALSE);
$config
->save(TRUE);
}