You are here

public function Job::language in Translation Management Tool 8

Gets the language of the entity.

Return value

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

Overrides ContentEntityBase::language

File

src/Entity/Job.php, line 978

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function language() {
  return new Language(array(
    'id' => Language::LANGCODE_NOT_SPECIFIED,
  ));
}