ContentTranslationMetadataWrapperInterface

Common interface for content translation metadata wrappers.

This acts as a wrapper for an entity translation object, encapsulating the logic needed to retrieve translation metadata.

Hierarchy

File

core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php, line 13

Namespace

Drupal\content_translation

Members

Name Modifiers Type Description
ContentTranslationMetadataWrapperInterface::getAuthor public function Returns the translation author.
ContentTranslationMetadataWrapperInterface::getChangedTime public function Returns the timestamp of the last entity change from current translation.
ContentTranslationMetadataWrapperInterface::getCreatedTime public function Returns the translation creation timestamp.
ContentTranslationMetadataWrapperInterface::getSource public function Retrieves the source language for this translation.
ContentTranslationMetadataWrapperInterface::isOutdated public function Returns the translation outdated status.
ContentTranslationMetadataWrapperInterface::isPublished public function Returns the translation published status.
ContentTranslationMetadataWrapperInterface::setAuthor public function Sets the translation author.
ContentTranslationMetadataWrapperInterface::setChangedTime public function Sets the translation modification timestamp.
ContentTranslationMetadataWrapperInterface::setCreatedTime public function Sets the translation creation timestamp.
ContentTranslationMetadataWrapperInterface::setOutdated public function Sets the translation outdated status.
ContentTranslationMetadataWrapperInterface::setPublished public function Sets the translation published status.
ContentTranslationMetadataWrapperInterface::setSource public function Sets the source language for this translation.
doc_Drupal
2016-10-29 08:58:26
Comments
Leave a Comment

Please login to continue.