function ContentTranslationHandlerInterface::retranslate
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.
1 method overrides ContentTranslationHandlerInterface::retranslate()
- ContentTranslationHandler::retranslate in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - Marks translations as outdated.
File
-
core/
modules/ content_translation/ src/ ContentTranslationHandlerInterface.php, line 59
Class
- ContentTranslationHandlerInterface
- Interface for providing content translation.
Namespace
Drupal\content_translationCode
public function retranslate(EntityInterface $entity, $langcode = NULL);