You are here

public function ContentTranslationMetadataWrapperInterface::getSource in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php \Drupal\content_translation\ContentTranslationMetadataWrapperInterface::getSource()
  2. 9 core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php \Drupal\content_translation\ContentTranslationMetadataWrapperInterface::getSource()

Retrieves the source language for this translation.

Return value

string The source language code.

File

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

Class

ContentTranslationMetadataWrapperInterface
Common interface for content translation metadata wrappers.

Namespace

Drupal\content_translation

Code

public function getSource();