Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContentTranslationMetadataWrapperInterface.php

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal