function high_contrast_uninstall in High contrast 8
Same name and namespace in other branches
- 6 high_contrast.install \high_contrast_uninstall()
- 7 high_contrast.install \high_contrast_uninstall()
Implements hook_uninstall().
File
- ./
high_contrast.install, line 13 - Contains install and update functions for High Contrast.
Code
function high_contrast_uninstall() {
$path = HIGH_CONTRAST_CSS_LOCATION;
if (file_exists($path)) {
\Drupal::service('file_system')
->delete($path);
}
}