You are here

public function LingotekTranslatableEntity::getMetadataValue in Lingotek Translation 7.2

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

Gets a Lingotek metadata value for this item.

Parameters

string $key: The key whose value should be returned.

Return value

string The value for the specified key, if it exists.

2 methods override LingotekTranslatableEntity::getMetadataValue()
LingotekComment::getMetadataValue in lib/Drupal/lingotek/LingotekComment.php
Gets a Lingotek metadata value for this item.
LingotekNode::getMetadataValue in lib/Drupal/lingotek/LingotekNode.php
Gets a Lingotek metadata value for this item.

File

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

Class

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

Code

public function getMetadataValue($key);