function libraries_uninstall in Libraries API 8.3
Implements hook_uninstall().
File
- ./
libraries.install, line 24 - Containsinstall, uninstall and update functions for Libraries API.
Code
function libraries_uninstall() {
if (is_dir('public://library-definitions')) {
\Drupal::service('file_system')
->deleteRecursive('public://library-definitions');
}
}