You are here

function better_social_sharing_buttons_update_8003 in Better Social Sharing Buttons 8.3

Removes stumbleupon service configuration.

File

./better_social_sharing_buttons.install, line 53
Install file for updates between versions.

Code

function better_social_sharing_buttons_update_8003() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('better_social_sharing_buttons.settings');
  $config
    ->clear('services.stumbleupon')
    ->save();
}