You are here

public function LingotekTranslatableEntity::setMetadataValue in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekTranslatableEntity.php \LingotekTranslatableEntity::setMetadataValue()
  2. 7.2 lib/Drupal/lingotek/LingotekTranslatableEntity.php \LingotekTranslatableEntity::setMetadataValue()
  3. 7.3 lib/Drupal/lingotek/LingotekTranslatableEntity.php \LingotekTranslatableEntity::setMetadataValue()
  4. 7.4 lib/Drupal/lingotek/LingotekTranslatableEntity.php \LingotekTranslatableEntity::setMetadataValue()
  5. 7.6 lib/Drupal/lingotek/LingotekTranslatableEntity.php \LingotekTranslatableEntity::setMetadataValue()

Sets a Lingotek metadata value for this item.

Parameters

string $key: The key for a name/value pair.

string $value: The value for a name/value pair.

2 methods override LingotekTranslatableEntity::setMetadataValue()
LingotekConfigChunk::setMetadataValue in lib/Drupal/lingotek/LingotekConfigChunk.php
Sets a Lingotek metadata value for this item.
LingotekEntity::setMetadataValue in lib/Drupal/lingotek/LingotekEntity.php
Sets a Lingotek metadata value for this item.

File

lib/Drupal/lingotek/LingotekTranslatableEntity.php, line 56
Defines LingotekTranslatableEntity.

Class

LingotekTranslatableEntity
An interface for entities that are eligible for translation via the Lingotek platform.

Code

public function setMetadataValue($key, $value);