Same name and namespace in other branches
  1. 7.x-1.x ExifInterface.php \Drupal\exif\ExifInterface::readMetadataTags() 1 comment
  2. 8.x-2.x src/ExifInterface.php \Drupal\exif\ExifInterface::readMetadataTags() 1 comment

Retrieve all metadata from a file.

Parameters

string $file: File to read metadata from.

bool $enable_sections: Should sections should be also retrieved.

Return value

array metadata keys and associated values.

2 methods override ExifInterface::readMetadataTags()
ExifPHPExtension::readMetadataTags in src/ExifPHPExtension.php
Read all metadata tags.
SimpleExifToolFacade::readMetadataTags in src/SimpleExifToolFacade.php
Retrieve all metadata from a file.

File

src/ExifInterface.php, line 41

Class

ExifInterface
Interface ExifInterface define contract for implementations.

Namespace

Drupal\exif

Code

public function readMetadataTags($file, $enable_sections = TRUE);