function ContentTranslationMetadataWrapper::getChangedTime
Same name in other branches
- 9 core/modules/content_translation/src/ContentTranslationMetadataWrapper.php \Drupal\content_translation\ContentTranslationMetadataWrapper::getChangedTime()
- 10 core/modules/content_translation/src/ContentTranslationMetadataWrapper.php \Drupal\content_translation\ContentTranslationMetadataWrapper::getChangedTime()
- 11.x core/modules/content_translation/src/ContentTranslationMetadataWrapper.php \Drupal\content_translation\ContentTranslationMetadataWrapper::getChangedTime()
Overrides ContentTranslationMetadataWrapperInterface::getChangedTime
File
-
core/
modules/ content_translation/ src/ ContentTranslationMetadataWrapper.php, line 123
Class
- ContentTranslationMetadataWrapper
- Base class for content translation metadata wrappers.
Namespace
Drupal\content_translationCode
public function getChangedTime() {
return $this->translation
->hasField('content_translation_changed') ? $this->translation
->get('content_translation_changed')->value : $this->translation
->getChangedTime();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.