You are here

function scheduler_uninstall in Scheduler 8

Same name and namespace in other branches
  1. 5 scheduler.install \scheduler_uninstall()
  2. 6 scheduler.install \scheduler_uninstall()
  3. 7 scheduler.install \scheduler_uninstall()

Implements hook_uninstall().

File

./scheduler.install, line 84
Installation file for Scheduler module.

Code

function scheduler_uninstall() {

  // Delete the scheduled content view.
  \Drupal::configFactory()
    ->getEditable('views.view.scheduler_scheduled_content')
    ->delete();
}