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
- interface \Drupal\content_translation\ContentTranslationMetadataWrapperInterface
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. |
Please login to continue.