public function SimpleExifToolFacade::readMetadataTags in Exif 7
Same name and namespace in other branches
- 8.2 src/SimpleExifToolFacade.php \Drupal\exif\SimpleExifToolFacade::readMetadataTags()
- 8 src/SimpleExifToolFacade.php \Drupal\exif\SimpleExifToolFacade::readMetadataTags()
$arOptions liste of options for the method : # enable_sections : (default : TRUE) retrieve also sections.
Parameters
string $file:
boolean $enable_sections:
Return value
array $data
Overrides ExifInterface::readMetadataTags
File
- ./
SimpleExiftoolFacade.php, line 175
Class
Namespace
Drupal\exifCode
public function readMetadataTags($file, $enable_sections = TRUE) {
if (!file_exists($file)) {
return array();
}
$data = $this
->readAllInformation($file, $enable_sections);
return $data;
}