You are here

function navigation404_uninstall in 404 Navigation 8

Implements hook_uninstall().

File

./navigation404.install, line 20
install file.

Code

function navigation404_uninstall() {
  if (Drupal::config('system.site')
    ->get('page.404') == NAVIGATION404_PAGE) {
    Drupal::config('system.site')
      ->delete('page.404');
  }
}