You are here

protected function Font::doRemoveMetadata in File metadata manager 8

Same name and namespace in other branches
  1. 8.2 file_mdm_font/src/Plugin/FileMetadata/Font.php \Drupal\file_mdm_font\Plugin\FileMetadata\Font::doRemoveMetadata()

Removes a metadata element.

Parameters

mixed $key: A key to determine the metadata element to be removed.

Return value

bool TRUE if metadata was removed successfully, FALSE otherwise.

Overrides FileMetadataPluginBase::doRemoveMetadata

File

file_mdm_font/src/Plugin/FileMetadata/Font.php, line 109

Class

Font
FileMetadata plugin for TTF/OTF/WOFF font information.

Namespace

Drupal\file_mdm_font\Plugin\FileMetadata

Code

protected function doRemoveMetadata($key) {
  throw new FileMetadataException('Deleting font metadata is not supported', $this
    ->getPluginId());
}