abstract protected function FileMetadataPluginBase::doGetMetadata in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/Plugin/FileMetadata/FileMetadataPluginBase.php \Drupal\file_mdm\Plugin\FileMetadata\FileMetadataPluginBase::doGetMetadata()
Gets a metadata element.
Parameters
mixed|null $key: A key to determine the metadata element to be returned. If NULL, the entire metadata will be returned.
Return value
mixed|null The value of the element specified by $key. If $key is NULL, the entire metadata. If no metadata is available, return NULL.
1 call to FileMetadataPluginBase::doGetMetadata()
- FileMetadataPluginBase::getMetadata in src/
Plugin/ FileMetadata/ FileMetadataPluginBase.php - Gets a metadata element.
3 methods override FileMetadataPluginBase::doGetMetadata()
- Exif::doGetMetadata in file_mdm_exif/
src/ Plugin/ FileMetadata/ Exif.php - Gets a metadata element.
- Font::doGetMetadata in file_mdm_font/
src/ Plugin/ FileMetadata/ Font.php - Gets a metadata element.
- GetImageSize::doGetMetadata in src/
Plugin/ FileMetadata/ GetImageSize.php - Gets a metadata element.
File
- src/
Plugin/ FileMetadata/ FileMetadataPluginBase.php, line 393
Class
- FileMetadataPluginBase
- Abstract implementation of a base File Metadata plugin.
Namespace
Drupal\file_mdm\Plugin\FileMetadataCode
protected abstract function doGetMetadata($key = NULL);