You are here

public function FileTranslator::hasCheckoutSettings in Translation Management Tool 8

Returns if the translator has any settings for the passed job.

Overrides TranslatorPluginBase::hasCheckoutSettings

File

translators/tmgmt_file/src/Plugin/tmgmt/Translator/FileTranslator.php, line 54

Class

FileTranslator
File translator.

Namespace

Drupal\tmgmt_file\Plugin\tmgmt\Translator

Code

public function hasCheckoutSettings(JobInterface $job) {
  return $job
    ->getTranslator()
    ->getSetting('allow_override');
}