Same name and namespace in other branches
- 8.x-1.x src/SimpleExifToolFacade.php \Drupal\exif\SimpleExifToolFacade::readMetadataTags() 1 comment
- 8.x-2.x src/SimpleExifToolFacade.php \Drupal\exif\SimpleExifToolFacade::readMetadataTags() 1 comment
$arOptions liste of options for the method : # enable_sections : (default : TRUE) retrieve also sections.
Parameters
string $file:
bool $enable_sections:
Return value
array $data
Overrides ExifInterface::readMetadataTags
File
-
./
SimpleExiftoolFacade.php, line 166
Class
- SimpleExifToolFacade
- Helper class to handle the whole data processing of EXIF with exiftool.
Namespace
Drupal\exifCode
public function readMetadataTags($file, $enable_sections = TRUE) {
if (!file_exists($file)) {
return array();
}
$data = $this->readAllInformation($file, $enable_sections);
return $data;
}