You are here

social_media.install in Social media share 8

File

social_media.install
View 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

Namesort descending Description
social_media_install Implements hook_install().
social_media_update_8001 Remove google plus configuration.