public function Job::getSourceLanguage

Returns the source language.

Return value

\Drupal\Core\Language\LanguageInterface The source language.

Overrides JobInterface::getSourceLanguage

1 call to Job::getSourceLanguage()
Job::label in src/Entity/Job.php

File

src/Entity/Job.php, line 201

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getSourceLanguage() {
  return $this
    ->get('source_language')->language;
}