You are here

public function ExifTagMapperInterface::getSupportedKeys in File metadata manager 8

Same name and namespace in other branches
  1. 8.2 file_mdm_exif/src/ExifTagMapperInterface.php \Drupal\file_mdm_exif\ExifTagMapperInterface::getSupportedKeys()

Returns a list of default metadata 'keys' supported.

Parameters

array $options: (optional) If specified, restricts the results returned. By default, all the available EXIF IFD/TAG combinations for any IFD are returned. If $options contains ['ifds' => TRUE], the supported IFDs are returned. If $options contains ['ifd' => $value], the IFD/TAG combinations supported by the IFD specified by $value are returned.

Return value

array A simple array. When returning a list of supported IFDs, each array element is a simple array with: 0 => the default string identifier of the IFD. 1 => the integer identifier of the IFD. When returning a list of supported IFD/TAGs, each array element is a simple array with: 0 => the string identifier of the IFD. 1 => the string identifier of the TAG.

1 method overrides ExifTagMapperInterface::getSupportedKeys()
ExifTagMapper::getSupportedKeys in file_mdm_exif/src/ExifTagMapper.php
Returns a list of default metadata 'keys' supported.

File

file_mdm_exif/src/ExifTagMapperInterface.php, line 52

Class

ExifTagMapperInterface
Provides an interface for EXIF metadata ifds and tags mapper.

Namespace

Drupal\file_mdm_exif

Code

public function getSupportedKeys(array $options = NULL);