You are here

function private_message_uninstall in Private Message 8

Same name and namespace in other branches
  1. 8.2 private_message.install \private_message_uninstall()

Implements hook_uninstall().

File

./private_message.install, line 11
Holds install and update hooks for the Private Messsage module.

Code

function private_message_uninstall() {
  \Drupal::configFactory()
    ->getEditable('core.entity_view_display.user.user.private_message_author')
    ->delete();
  \Drupal::configFactory()
    ->getEditable('core.entity_view_mode.user.private_message_author')
    ->delete();
}