You are here

public function FileMetadataPluginInterface::removeMetadata in File metadata manager 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/FileMetadataPluginInterface.php \Drupal\file_mdm\Plugin\FileMetadataPluginInterface::removeMetadata()

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 method overrides FileMetadataPluginInterface::removeMetadata()
FileMetadataPluginBase::removeMetadata in src/Plugin/FileMetadata/FileMetadataPluginBase.php
Removes a metadata element.

File

src/Plugin/FileMetadataPluginInterface.php, line 170

Class

FileMetadataPluginInterface
Provides an interface defining a FileMetadata plugin.

Namespace

Drupal\file_mdm\Plugin

Code

public function removeMetadata($key);