function ContentTranslationMetadataWrapperInterface::getSource

Same name in other branches
  1. 9 core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php \Drupal\content_translation\ContentTranslationMetadataWrapperInterface::getSource()
  2. 10 core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php \Drupal\content_translation\ContentTranslationMetadataWrapperInterface::getSource()
  3. 11.x 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.

1 method overrides ContentTranslationMetadataWrapperInterface::getSource()
ContentTranslationMetadataWrapper::getSource in core/modules/content_translation/src/ContentTranslationMetadataWrapper.php
Retrieves the source language for this translation.

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();

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