ContentTranslationMetadataWrapper

Base class for content translation metadata wrappers.

Hierarchy

File

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

Namespace

Drupal\content_translation

Members

Name Modifiers Type Description
ContentTranslationMetadataWrapper::$handler protected property The content translation handler.
ContentTranslationMetadataWrapper::$translation protected property The wrapped entity translation.
ContentTranslationMetadataWrapper::getAuthor public function Returns the translation author. Overrides ContentTranslationMetadataWrapperInterface::getAuthor
ContentTranslationMetadataWrapper::getChangedTime public function Returns the timestamp of the last entity change from current translation. Overrides ContentTranslationMetadataWrapperInterface::getChangedTime
ContentTranslationMetadataWrapper::getCreatedTime public function Returns the translation creation timestamp. Overrides ContentTranslationMetadataWrapperInterface::getCreatedTime
ContentTranslationMetadataWrapper::getSource public function Retrieves the source language for this translation. Overrides ContentTranslationMetadataWrapperInterface::getSource
ContentTranslationMetadataWrapper::isOutdated public function Returns the translation outdated status. Overrides ContentTranslationMetadataWrapperInterface::isOutdated
ContentTranslationMetadataWrapper::isPublished public function Returns the translation published status. Overrides ContentTranslationMetadataWrapperInterface::isPublished
ContentTranslationMetadataWrapper::setAuthor public function Sets the translation author. Overrides ContentTranslationMetadataWrapperInterface::setAuthor
ContentTranslationMetadataWrapper::setChangedTime public function Sets the translation modification timestamp. Overrides ContentTranslationMetadataWrapperInterface::setChangedTime
ContentTranslationMetadataWrapper::setCreatedTime public function Sets the translation creation timestamp. Overrides ContentTranslationMetadataWrapperInterface::setCreatedTime
ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable protected function Updates a field value, only if the field is translatable.
ContentTranslationMetadataWrapper::setOutdated public function Sets the translation outdated status. Overrides ContentTranslationMetadataWrapperInterface::setOutdated
ContentTranslationMetadataWrapper::setPublished public function Sets the translation published status. Overrides ContentTranslationMetadataWrapperInterface::setPublished
ContentTranslationMetadataWrapper::setSource public function Sets the source language for this translation. Overrides ContentTranslationMetadataWrapperInterface::setSource
ContentTranslationMetadataWrapper::__construct public function Initializes an instance of the content translation metadata handler.
doc_Drupal
2016-10-29 08:58:23
Comments
Leave a Comment

Please login to continue.