You are here

function google_analytics_counter_update_8005 in Google Analytics Counter 8.3

Issue #3003875: Remove profile_id_prefill configuration.

File

./google_analytics_counter.install, line 191
Update, and uninstall functions for the Google Analytics Counter module.

Code

function google_analytics_counter_update_8005() {
  $config_factory = \Drupal::configFactory();
  $config_factory
    ->getEditable('google_analytics_counter.settings')
    ->clear('general_settings.profile_id_prefill')
    ->save();
}