Returns the label of the translator for this job.
\Drupal\Core\StringTranslation\TranslatableMarkup|string The label of the translator, "(Missing)" in case the translator has been deleted or "(Undefined)" in case the translator is not set.
Overrides JobInterface::getTranslatorLabel
public function getTranslatorLabel() {
if ($this
->hasTranslator()) {
return $this
->getTranslator()
->label();
}
if ($this
->getTranslatorId() == NULL) {
return t('(Undefined)');
}
return t('(Missing)');
}