You are here

abstract protected function FileMetadataPluginBase::doSetMetadata 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::doSetMetadata()

Sets a metadata element.

Parameters

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

mixed $value: The value to change the metadata element to.

Return value

bool TRUE if metadata was changed successfully, FALSE otherwise.

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

File

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

Class

FileMetadataPluginBase
Abstract implementation of a base File Metadata plugin.

Namespace

Drupal\file_mdm\Plugin\FileMetadata

Code

protected abstract function doSetMetadata($key, $value);