You are here

function twitter_profile_widget_uninstall in Twitter Profile Widget 3.x

Same name and namespace in other branches
  1. 8.2 twitter_profile_widget.install \twitter_profile_widget_uninstall()
  2. 8 twitter_profile_widget.install \twitter_profile_widget_uninstall()
  3. 6 twitter_profile_widget.install \twitter_profile_widget_uninstall()
  4. 7 twitter_profile_widget.install \twitter_profile_widget_uninstall()

Implements hook_uninstall().

File

./twitter_profile_widget.install, line 46
Install file for twitter_profile_widget.

Code

function twitter_profile_widget_uninstall() {
  \Drupal::configFactory()
    ->getEditable('twitter_profile_widget.settings')
    ->delete();
}