function _matomo_file_delete in Matomo Analytics 8
Removes unmanaged file from the file system.
@internal
Parameters
string $uri: The file to delete.
1 string reference to '_matomo_file_delete'
- matomo_clear_js_cache in ./
matomo.module - Delete cached files and directory.
File
- ./
matomo.module, line 746 - Drupal Module: Matomo.
Code
function _matomo_file_delete($uri) {
\Drupal::service('file_system')
->delete($uri);
}