function syntaxhighlighter_uninstall in Syntax Highlighter 8
Same name and namespace in other branches
- 6.2 syntaxhighlighter.install \syntaxhighlighter_uninstall()
- 6 syntaxhighlighter.install \syntaxhighlighter_uninstall()
- 7.2 syntaxhighlighter.install \syntaxhighlighter_uninstall()
- 7 syntaxhighlighter.install \syntaxhighlighter_uninstall()
Implements hook_uninstall().
File
- ./
syntaxhighlighter.install, line 32 - Syntax Highlighter module installation file.
Code
function syntaxhighlighter_uninstall() {
file_unmanaged_delete('public://js/syntaxhighlighter.autoloader.js');
@\Drupal::service('file_system')
->rmdir('public://js');
}