You are here

public function SourcePluginInterface::getSourceLangCode in Translation Management Tool 8

Gets language code of the job item source.

Parameters

\Drupal\tmgmt\JobItemInterface $job_item: The job item.

Return value

string Language code.

1 call to SourcePluginInterface::getSourceLangCode()
SourcePluginBase::getExistingLangCodes in src/SourcePluginBase.php
Gets existing translation language codes of the job item source.
4 methods override SourcePluginInterface::getSourceLangCode()
ConfigSource::getSourceLangCode in sources/tmgmt_config/src/Plugin/tmgmt/Source/ConfigSource.php
Gets language code of the job item source.
ContentEntitySource::getSourceLangCode in sources/content/src/Plugin/tmgmt/Source/ContentEntitySource.php
Gets language code of the job item source.
LocaleSource::getSourceLangCode in sources/locale/src/Plugin/tmgmt/Source/LocaleSource.php
Gets language code of the job item source.
TestSource::getSourceLangCode in tmgmt_test/src/Plugin/tmgmt/Source/TestSource.php
Gets language code of the job item source.

File

src/SourcePluginInterface.php, line 89

Class

SourcePluginInterface
Interface for source plugin controllers.

Namespace

Drupal\tmgmt

Code

public function getSourceLangCode(JobItemInterface $job_item);