You are here

function _matomo_uninstall_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_uninstall_file_delete'
matomo_uninstall in ./matomo.install
Implements hook_uninstall().

File

./matomo.install, line 51
Installation file for Matomo Analytics module.

Code

function _matomo_uninstall_file_delete($uri) {
  \Drupal::service('file_system')
    ->delete($uri);
}