public function GetImageSize::getSupportedKeys in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/Plugin/FileMetadata/GetImageSize.php \Drupal\file_mdm\Plugin\FileMetadata\GetImageSize::getSupportedKeys()
Returns a list of metadata keys supported by the plugin.
Parameters
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.
Overrides FileMetadataPluginInterface::getSupportedKeys
1 call to GetImageSize::getSupportedKeys()
- GetImageSize::validateKey in src/
Plugin/ FileMetadata/ GetImageSize.php - Validates a file metadata key.
File
- src/
Plugin/ FileMetadata/ GetImageSize.php, line 21
Class
- GetImageSize
- FileMetadata plugin for getimagesize.
Namespace
Drupal\file_mdm\Plugin\FileMetadataCode
public function getSupportedKeys($options = NULL) {
return [
0,
1,
2,
3,
'mime',
'channels',
'bits',
];
}