function high_contrast_update_8002 in High contrast 8
Delete the old CSS file.
File
- ./
high_contrast.install, line 32 - Contains install and update functions for High Contrast.
Code
function high_contrast_update_8002() {
$path = 'public://high_contrast.css';
if (file_exists($path)) {
\Drupal::service('file_system')
->delete($path);
}
}