function share_everywhere_update_8002 in Share Everywhere 2.x
Same name and namespace in other branches
- 8 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();
}