function social_media_update_8001 in Social media share 8
Remove google plus configuration.
1 call to social_media_update_8001()
- social_media_install in ./
social_media.install - Implements hook_install().
File
- ./
social_media.install, line 6
Code
function social_media_update_8001() {
\Drupal::configFactory()
->getEditable('social_media.settings')
->clear('google_plus')
->save();
}