Same name and namespace in other branches
- 8.x-2.x src/ExifContent.php \Drupal\exif\ExifContent::__destruct() 1 comment
Cleanup of artifacts from processing files.
File
-
src/
ExifContent.php, line 616
Class
- ExifContent
- Class ExifContent make link between drupal content and file content.
Namespace
Drupal\exifCode
public function __destruct() {
// Get rid of temporary files created for this instance.
foreach ($this->localCopiesOfRemoteFiles as $uri) {
\Drupal::service('file_system')->unlink($uri);
}
}