Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContentTranslationHandlerInterface.php

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_translation

Code

public function retranslate(EntityInterface $entity, $langcode = NULL);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal