social_media.install in Social media share 8
File
social_media.installView source
<?php
/**
* Remove google plus configuration.
*/
function social_media_update_8001() {
\Drupal::configFactory()
->getEditable('social_media.settings')
->clear('google_plus')
->save();
}
/**
* Implements hook_install().
*/
function social_media_install() {
social_media_update_8001();
}
Functions
Name | Description |
---|---|
social_media_install | Implements hook_install(). |
social_media_update_8001 | Remove google plus configuration. |