public function LingotekSettingsTabLoggingForm::submitForm in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 4.0.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.0.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.1.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.2.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.3.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.4.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.5.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.6.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.7.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
- 3.8.x src/Form/LingotekSettingsTabLoggingForm.php \Drupal\lingotek\Form\LingotekSettingsTabLoggingForm::submitForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides ConfigFormBase::submitForm
File
- src/
Form/ LingotekSettingsTabLoggingForm.php, line 83 - Contains \Drupal\lingotek\Form\LingotekSettingsLoggingForm.
Class
- LingotekSettingsTabLoggingForm
- Configure Lingotek
Namespace
Drupal\lingotek\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$form_values = $form_state
->getValues();
$this->lingotek
->set('logging.lingotek_error_log', $form_values['error_logging']);
$this->lingotek
->set('logging.lingotek_warning_log', $form_values['warning_logging']);
$this->lingotek
->set('logging.lingotek_api_debug', $form_values['interaction_logging']);
$this->lingotek
->set('logging.lingotek_trace_log', $form_values['trace_logging']);
$this->lingotek
->set('logging.lingotek_flush_cache', $form_values['never_cache']);
}