DRUPAL 8 Désinstaller Hook

function hook_uninstall() {

  // Remove the styles directory and generated images.
  file_unmanaged_delete_recursive(file_default_scheme() . '://styles');
}
Sminkie