You are here

function view_unpublished_uninstall in view_unpublished 8

Implements hook_uninstall().

File

./view_unpublished.install, line 20
Contains install and update functions for view_unpublished.

Code

function view_unpublished_uninstall() {
  Drupal::service('view_unpublished.install_helper')
    ->flagRebuild();

  // Remove any errant view_unpublished dependency.
  Drupal::service('view_unpublished.install_helper')
    ->removeDependency();
}