ContentTranslationHandlerInterface::retranslate

public ContentTranslationHandlerInterface::retranslate(EntityInterface $entity, $langcode = NULL)

Marks translations as outdated.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity being translated.

string $langcode: (optional) The language code of the updated language: all the other translations will be marked as outdated. Defaults to the entity language.

File

core/modules/content_translation/src/ContentTranslationHandlerInterface.php, line 60

Class

ContentTranslationHandlerInterface
Interface for providing content translation.

Namespace

Drupal\content_translation

Code

public function retranslate(EntityInterface $entity, $langcode = NULL);
doc_Drupal
2016-10-29 08:58:18
Comments
Leave a Comment

Please login to continue.