You are here

public function LocaleSource::getItemTypes in Translation Management Tool 8

Returns an array of translatable source item types.

Overrides SourcePluginBase::getItemTypes

File

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

Class

LocaleSource
Translation Source plugin for locale strings.

Namespace

Drupal\tmgmt_locale\Plugin\tmgmt\Source

Code

public function getItemTypes() {
  return array(
    'default' => t('Locale'),
  );
}