You are here

public function JobItem::getSourceLangCode in Translation Management Tool 8

Gets language code of the job item source.

Return value

string Language code.

Overrides JobItemInterface::getSourceLangCode

File

src/Entity/JobItem.php, line 987

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getSourceLangCode() {
  return $this
    ->getSourcePlugin()
    ->getSourceLangCode($this);
}