public function WebformTranslationManagerInterface::getOriginalLangcode in Webform 8.5
Same name and namespace in other branches
- 6.x 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\webformCode
public function getOriginalLangcode(WebformInterface $webform);