public function TestTranslator::hasCheckoutSettings in Translation Management Tool 8
Returns if the translator has any settings for the passed job.
Overrides TranslatorPluginBase::hasCheckoutSettings
File
- tmgmt_test/
src/ Plugin/ tmgmt/ Translator/ TestTranslator.php, line 54
Class
- TestTranslator
- Test source plugin implementation.
Namespace
Drupal\tmgmt_test\Plugin\tmgmt\TranslatorCode
public function hasCheckoutSettings(JobInterface $job) {
return $job
->getTranslator()
->getSetting('expose_settings');
}