abstract protected function FileMetadataPluginBase::doGetMetadataFromFile 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::doGetMetadataFromFile()
Gets file metadata from the file at URI/local path.
Return value
mixed The metadata retrieved from the file.
Throws
\Drupal\file_mdm\FileMetadataException In case there were significant errors reading from file.
1 call to FileMetadataPluginBase::doGetMetadataFromFile()
- FileMetadataPluginBase::loadMetadataFromFile in src/
Plugin/ FileMetadata/ FileMetadataPluginBase.php - Loads file metadata from the file at URI/local path.
3 methods override FileMetadataPluginBase::doGetMetadataFromFile()
- Exif::doGetMetadataFromFile in file_mdm_exif/
src/ Plugin/ FileMetadata/ Exif.php - Gets file metadata from the file at URI/local path.
- Font::doGetMetadataFromFile in file_mdm_font/
src/ Plugin/ FileMetadata/ Font.php - Gets file metadata from the file at URI/local path.
- GetImageSize::doGetMetadataFromFile in src/
Plugin/ FileMetadata/ GetImageSize.php - Gets file metadata from the file at URI/local path.
File
- src/
Plugin/ FileMetadata/ FileMetadataPluginBase.php, line 300
Class
- FileMetadataPluginBase
- Abstract implementation of a base File Metadata plugin.
Namespace
Drupal\file_mdm\Plugin\FileMetadataCode
protected abstract function doGetMetadataFromFile();