You are here

geocoder.install in Geocoder 8.2

Same filename and directory in other branches
  1. 8.3 geocoder.install
  2. 7.2 geocoder.install
  3. 7 geocoder.install

Install, update, and uninstall functions for geocoder.

File

geocoder.install
View source
<?php

/**
 * @file
 * Install, update, and uninstall functions for geocoder.
 */

/**
 * Adds geocoder_presave_disabled configuration and schema.
 */
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);
}

Functions

Namesort descending Description
geocoder_update_8201 Adds geocoder_presave_disabled configuration and schema.