code: public function configDelete(ConfigCrudEvent $event) {
      $config = $event->getConfig();
      if ($config->getName() === 'views.view.thunder_media' && ($media_view = View::load('media'))) {
        $media_view->setStatus(TRUE)->save();
      }
    }
docs: React to a config object being deleted.
  
  @param \Drupal\Core\Config\ConfigCrudEvent $event
  Config crud event.