ContentTranslationMetadataWrapper::setAuthor

public ContentTranslationMetadataWrapper::setAuthor(UserInterface $account) Sets the translation author. The metadata field will be updated, only if it's translatable. Parameters \Drupal\user\UserInterface $account: The translation author user entity. Return value $this Overrides ContentTranslationMetadataWrapperInterface::setAuthor File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 80 Class ContentTranslationMetadataWrapper Base class for content trans

ContentTranslationMetadataWrapper::isPublished

public ContentTranslationMetadataWrapper::isPublished() Returns the translation published status. Return value bool TRUE if the translation is published, FALSE otherwise. Overrides ContentTranslationMetadataWrapperInterface::isPublished File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 89 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code public function isPublished

ContentTranslationMetadataWrapper::isOutdated

public ContentTranslationMetadataWrapper::isOutdated() Returns the translation outdated status. Return value bool TRUE if the translation is outdated, FALSE otherwise. Overrides ContentTranslationMetadataWrapperInterface::isOutdated File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 58 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code public function isOutdated() {

ContentTranslationMetadataWrapper::getSource

public ContentTranslationMetadataWrapper::getSource() Retrieves the source language for this translation. Return value string The source language code. Overrides ContentTranslationMetadataWrapperInterface::getSource File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 43 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code public function getSource() { return $this->

ContentTranslationMetadataWrapper::getCreatedTime

public ContentTranslationMetadataWrapper::getCreatedTime() Returns the translation creation timestamp. Return value int The UNIX timestamp of when the translation was created. Overrides ContentTranslationMetadataWrapperInterface::getCreatedTime File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 106 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code public function ge

ContentTranslationMetadataWrapper::getChangedTime

public ContentTranslationMetadataWrapper::getChangedTime() Returns the timestamp of the last entity change from current translation. Return value int The timestamp of the last entity save operation. 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_translation

ContentTranslationMetadataWrapper::getAuthor

public ContentTranslationMetadataWrapper::getAuthor() Returns the translation author. Return value \Drupal\user\UserInterface The user entity for the translation author. Overrides ContentTranslationMetadataWrapperInterface::getAuthor File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 73 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code public function getAuthor() {

ContentTranslationMetadataWrapper::$translation

The wrapped entity translation. Type: \Drupal\Core\Entity\EntityInterface|\Drupal\Core\Entity\FieldableEntityInterface|\Drupal\Core\TypedData\TranslatableInterface File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 18 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code protected $translation;

ContentTranslationMetadataWrapper::$handler

The content translation handler. Type: \Drupal\content_translation\ContentTranslationHandlerInterface File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 25 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code protected $handler;

ContentTranslationMetadataWrapper

Base class for content translation metadata wrappers. Hierarchy class \Drupal\content_translation\ContentTranslationMetadataWrapper implements ContentTranslationMetadataWrapperInterface 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. ContentTranslationMetadat