function share_everywhere_update_8002 in Share Everywhere 8
Same name and namespace in other branches
- 2.x share_everywhere.install \share_everywhere_update_8002()
Remove Google+ configuration.
File
- ./
share_everywhere.install, line 38 - Install, update, and uninstall functions for the Share Everywhere module.
Code
function share_everywhere_update_8002() {
$config = \Drupal::configFactory()
->getEditable('share_everywhere.settings');
$config
->clear('buttons.googleplus')
->save();
}