function ContentTranslationMetadataWrapperInterface::getAuthor

Same name in other branches
  1. 8.9.x core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php \Drupal\content_translation\ContentTranslationMetadataWrapperInterface::getAuthor()
  2. 10 core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php \Drupal\content_translation\ContentTranslationMetadataWrapperInterface::getAuthor()
  3. 11.x core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php \Drupal\content_translation\ContentTranslationMetadataWrapperInterface::getAuthor()

Returns the translation author.

Return value

\Drupal\user\UserInterface The user entity for the translation author.

1 method overrides ContentTranslationMetadataWrapperInterface::getAuthor()
ContentTranslationMetadataWrapper::getAuthor in core/modules/content_translation/src/ContentTranslationMetadataWrapper.php
Returns the translation author.

File

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

Class

ContentTranslationMetadataWrapperInterface
Common interface for content translation metadata wrappers.

Namespace

Drupal\content_translation

Code

public function getAuthor();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.