You are here

abstract protected function FileMetadataPluginBase::doRemoveMetadata in File metadata manager 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/FileMetadata/FileMetadataPluginBase.php \Drupal\file_mdm\Plugin\FileMetadata\FileMetadataPluginBase::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.

1 call to FileMetadataPluginBase::doRemoveMetadata()
FileMetadataPluginBase::removeMetadata in src/Plugin/FileMetadata/FileMetadataPluginBase.php
Removes a metadata element.
3 methods override FileMetadataPluginBase::doRemoveMetadata()
Exif::doRemoveMetadata in file_mdm_exif/src/Plugin/FileMetadata/Exif.php
Removes a metadata element.
Font::doRemoveMetadata in file_mdm_font/src/Plugin/FileMetadata/Font.php
Removes a metadata element.
GetImageSize::doRemoveMetadata in src/Plugin/FileMetadata/GetImageSize.php
Removes a metadata element.

File

src/Plugin/FileMetadata/FileMetadataPluginBase.php, line 457

Class

FileMetadataPluginBase
Abstract implementation of a base File Metadata plugin.

Namespace

Drupal\file_mdm\Plugin\FileMetadata

Code

protected abstract function doRemoveMetadata($key);