public function LocaleSource::getType

[@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());
}