You are here

public function WebformTranslationManagerInterface::getOriginalLangcode in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformTranslationManagerInterface.php \Drupal\webform\WebformTranslationManagerInterface::getOriginalLangcode()

Get the original langcode for a webform.

Parameters

\Drupal\webform\WebformInterface $webform: A webform.

Return value

string The original langcode for a webform.

1 method overrides WebformTranslationManagerInterface::getOriginalLangcode()
WebformTranslationManager::getOriginalLangcode in src/WebformTranslationManager.php
Get the original langcode for a webform.

File

src/WebformTranslationManagerInterface.php, line 78

Class

WebformTranslationManagerInterface
Defines an interface for webform element translation classes.

Namespace

Drupal\webform

Code

public function getOriginalLangcode(WebformInterface $webform);