You are here

public function SourcePluginInterface::getExistingLangCodes in Translation Management Tool 8

Gets existing translation language codes of the job item source.

Returns language codes that can be used as the source language for a translation job.

Parameters

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

Return value

array Array of language codes.

1 method overrides SourcePluginInterface::getExistingLangCodes()
SourcePluginBase::getExistingLangCodes in src/SourcePluginBase.php
Gets existing translation language codes of the job item source.

File

src/SourcePluginInterface.php, line 103

Class

SourcePluginInterface
Interface for source plugin controllers.

Namespace

Drupal\tmgmt

Code

public function getExistingLangCodes(JobItemInterface $job_item);