You are here

function mentions_uninstall in Open Social 8

Same name and namespace in other branches
  1. 8.9 modules/custom/mentions/mentions.install \mentions_uninstall()
  2. 8.2 modules/custom/mentions/mentions.install \mentions_uninstall()
  3. 8.3 modules/custom/mentions/mentions.install \mentions_uninstall()
  4. 8.4 modules/custom/mentions/mentions.install \mentions_uninstall()
  5. 8.5 modules/custom/mentions/mentions.install \mentions_uninstall()
  6. 8.6 modules/custom/mentions/mentions.install \mentions_uninstall()
  7. 8.7 modules/custom/mentions/mentions.install \mentions_uninstall()
  8. 8.8 modules/custom/mentions/mentions.install \mentions_uninstall()
  9. 10.3.x modules/custom/mentions/mentions.install \mentions_uninstall()
  10. 10.0.x modules/custom/mentions/mentions.install \mentions_uninstall()
  11. 10.1.x modules/custom/mentions/mentions.install \mentions_uninstall()
  12. 10.2.x modules/custom/mentions/mentions.install \mentions_uninstall()

Implements hook_uninstall().

File

modules/custom/mentions/mentions.install, line 35
Install, update and uninstall functions for the mentions module.

Code

function mentions_uninstall() {
  \Drupal::service('config.factory')
    ->getEditable('mentions.settings')
    ->delete();
}