You are here

function shariff_update_8001 in Shariff Social Media Buttons 8

Remove googleplus service.

File

./shariff.install, line 61
Install, update and uninstall functions for the shariff module.

Code

function shariff_update_8001() {
  \Drupal::configFactory()
    ->getEditable('shariff.settings')
    ->clear('shariff_services.googleplus')
    ->save(TRUE);
}