You are here

abstract protected function FileMetadataPluginBase::doGetMetadataFromFile in File metadata manager 8.2

Same name and namespace in other branches
  1. 8 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 312

Class

FileMetadataPluginBase
Abstract implementation of a base File Metadata plugin.

Namespace

Drupal\file_mdm\Plugin\FileMetadata

Code

protected abstract function doGetMetadataFromFile();