function ContentTranslationMetadataWrapper::setOutdated

Same name and namespace in other branches
  1. 9 core/modules/content_translation/src/ContentTranslationMetadataWrapper.php \Drupal\content_translation\ContentTranslationMetadataWrapper::setOutdated()
  2. 10 core/modules/content_translation/src/ContentTranslationMetadataWrapper.php \Drupal\content_translation\ContentTranslationMetadataWrapper::setOutdated()
  3. 11.x core/modules/content_translation/src/ContentTranslationMetadataWrapper.php \Drupal\content_translation\ContentTranslationMetadataWrapper::setOutdated()

Overrides ContentTranslationMetadataWrapperInterface::setOutdated

File

core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 65

Class

ContentTranslationMetadataWrapper
Base class for content translation metadata wrappers.

Namespace

Drupal\content_translation

Code

public function setOutdated($outdated) {
    $this->translation
        ->set('content_translation_outdated', $outdated);
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.