ContentTranslationMetadataWrapper::setOutdated

public ContentTranslationMetadataWrapper::setOutdated($outdated)

Sets the translation outdated status.

Parameters

bool $outdated: TRUE if the translation is outdated, FALSE otherwise.

Return value

$this

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;
}
doc_Drupal
2016-10-29 08:58:25
Comments
Leave a Comment

Please login to continue.