You are here

public function JobItem::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/JobItem.php, line 1081

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

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