You are here

public function FileMetadataInterface::getSupportedKeys in File metadata manager 8

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

Returns a list of supported metadata keys.

Parameters

string $metadata_id: The id of the FileMetadata plugin.

mixed $options: (optional) Allows specifying additional options to control the list of metadata keys returned.

Return value

array A simple array of metadata keys supported.

1 method overrides FileMetadataInterface::getSupportedKeys()
FileMetadata::getSupportedKeys in src/FileMetadata.php
Returns a list of supported metadata keys.

File

src/FileMetadataInterface.php, line 102

Class

FileMetadataInterface
Provides an interface for file metadata objects.

Namespace

Drupal\file_mdm

Code

public function getSupportedKeys($metadata_id, $options = NULL);