You are here

public function LingotekTranslatableEntity::updateLocalContentByTarget in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.3 lib/Drupal/lingotek/LingotekTranslatableEntity.php \LingotekTranslatableEntity::updateLocalContentByTarget()

Updates the local content of $target_code with data from a Lingotek Document

Parameters

string $lingotek_locale: The code for the language that needs to be updated.

Return value

bool TRUE if the content updates succeeded, FALSE otherwise.

3 methods override LingotekTranslatableEntity::updateLocalContentByTarget()
LingotekComment::updateLocalContentByTarget in lib/Drupal/lingotek/LingotekComment.php
Updates the local content of $target_code with data from a Lingotek Document
LingotekConfigChunk::updateLocalContentByTarget in lib/Drupal/lingotek/LingotekConfigChunk.php
Updates the local content of $target_code with data from a Lingotek Document
LingotekNode::updateLocalContentByTarget in lib/Drupal/lingotek/LingotekNode.php
Updates the local content of $target_code with data from a Lingotek Document

File

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

Class

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

Code

public function updateLocalContentByTarget($lingotek_locale);