You are here

protected function LingotekImportSettingsForm::saveImportSettings in Lingotek Translation 8

1 call to LingotekImportSettingsForm::saveImportSettings()
LingotekImportSettingsForm::submitForm in src/Form/LingotekImportSettingsForm.php
Form submission handler.

File

src/Form/LingotekImportSettingsForm.php, line 71

Class

LingotekImportSettingsForm

Namespace

Drupal\lingotek\Form

Code

protected function saveImportSettings($form_values) {
  $this->lingotek
    ->set('preference.content_cloud_import_format', $form_values['content_cloud_import_format']);
  $this->lingotek
    ->set('preference.content_cloud_import_status', $form_values['content_cloud_import_status']);
}