Retrieves the source language for the translation being created.
Parameters
array $form_state:
The form state array.
Return value
string
The source language code.
File
 
   - drupal/core/modules/translation_entity/lib/Drupal/translation_entity/EntityTranslationControllerInterface.php, line 156
- Definition of Drupal\translation_entity\EntityTranslationControllerInterface.
Class
  
  - EntityTranslationControllerInterface 
- Interface for providing entity translation.
Namespace
  Drupal\translation_entity
Code
public function getSourceLangcode(array $form_state);