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

Work out which fields have to be processed.

Going through all the fields that have been created for a given node type and try to figure out which match the naming convention -> so that we know which exif information we have to read

Naming convention are: field_exif_xxx (xxx would be the name of the exif tag to read.

Parameters

array $fields: The fields.

Return value

array A list of EXIF tags to read for this image.

2 methods override ExifInterface::getMetadataFields()
ExifPHPExtension::getMetadataFields in ./ExifPHPExtension.php
Work out which fields have to be processed.
SimpleExifToolFacade::getMetadataFields in ./SimpleExiftoolFacade.php
Going through all the fields that have been created for a given node type and try to figure out which match the naming convention -> so that we know which exif information we have to read

File

./ExifInterface.php, line 26

Class

ExifInterface

Namespace

Drupal\exif

Code

public function getMetadataFields(array $fields = array());