public function FileMetadataInterface::saveMetadataToFile in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/FileMetadataInterface.php \Drupal\file_mdm\FileMetadataInterface::saveMetadataToFile()
Saves metadata to file at URI.
Parameters
string $metadata_id: The id of the FileMetadata plugin.
Return value
bool TRUE if metadata was saved successfully, FALSE otherwise.
1 method overrides FileMetadataInterface::saveMetadataToFile()
- FileMetadata::saveMetadataToFile in src/
FileMetadata.php - Saves metadata to file at URI.
File
- src/
FileMetadataInterface.php, line 206
Class
- FileMetadataInterface
- Provides an interface for file metadata objects.
Namespace
Drupal\file_mdmCode
public function saveMetadataToFile($metadata_id);