You are here

public function LocaleSource::getType in Translation Management Tool 8

[@inheritdoc}

Overrides SourcePluginBase::getType

File

sources/locale/src/Plugin/tmgmt/Source/LocaleSource.php, line 168

Class

LocaleSource
Translation Source plugin for locale strings.

Namespace

Drupal\tmgmt_locale\Plugin\tmgmt\Source

Code

public function getType(JobItemInterface $job_item) {
  return $this
    ->getItemTypeLabel($job_item
    ->getItemType());
}