protected function LingotekSetupController::saveAccountInfo in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8 src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 8.2 src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 4.0.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 3.0.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 3.1.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 3.2.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 3.3.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 3.4.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 3.5.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 3.6.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
- 3.7.x src/Controller/LingotekSetupController.php \Drupal\lingotek\Controller\LingotekSetupController::saveAccountInfo()
1 call to LingotekSetupController::saveAccountInfo()
- LingotekSetupController::handshake in src/
Controller/ LingotekSetupController.php
File
- src/
Controller/ LingotekSetupController.php, line 138
Class
- LingotekSetupController
- Returns responses for lingotek module setup routes.
Namespace
Drupal\lingotek\ControllerCode
protected function saveAccountInfo($account_info) {
if (!empty($account_info)) {
$config = \Drupal::configFactory()
->getEditable('lingotek.settings');
$config
->set('account.login_id', $account_info['login_id']);
$config
->save();
}
}