public function FileTranslator::defaultSettings in Translation Management Tool 8
Defines default settings.
Return value
array An array of default settings.
Overrides TranslatorPluginBase::defaultSettings
File
- translators/
tmgmt_file/ src/ Plugin/ tmgmt/ Translator/ FileTranslator.php, line 61
Class
- FileTranslator
- File translator.
Namespace
Drupal\tmgmt_file\Plugin\tmgmt\TranslatorCode
public function defaultSettings() {
return array(
'export_format' => 'xlf',
'allow_override' => TRUE,
'scheme' => 'public',
// Making this setting TRUE by default is more appropriate, however we
// need to make it FALSE due to backwards compatibility.
'xliff_processing' => FALSE,
'xliff_cdata' => FALSE,
'format_configuration' => [],
);
}