You are here

public static function ExifPHPExtension::getMetadataSections in Exif 8

Same name and namespace in other branches
  1. 8.2 src/ExifPHPExtension.php \Drupal\exif\ExifPHPExtension::getMetadataSections()
  2. 7 ExifPHPExtension.php \Drupal\exif\ExifPHPExtension::getMetadataSections()

Return known metadata sections.

Return value

array list of sections (as string)

1 call to ExifPHPExtension::getMetadataSections()
ExifPHPExtension::getMetadataFields in src/ExifPHPExtension.php
Return drupal fields related to this extension.

File

src/ExifPHPExtension.php, line 80

Class

ExifPHPExtension
Class ExifPHPExtension Parser implementation base d on PHP Exif extension.

Namespace

Drupal\exif

Code

public static function getMetadataSections() {
  $sections = [
    'exif',
    'file',
    'computed',
    'ifd0',
    'gps',
    'winxp',
    'iptc',
    'xmp',
  ];
  return $sections;
}