private function AdminSettingsForm::setIdentityValues in Acquia Lift Connector 8.3
Same name and namespace in other branches
- 8.4 src/Form/AdminSettingsForm.php \Drupal\acquia_lift\Form\AdminSettingsForm::setIdentityValues()
- 8 src/Form/AdminSettingsForm.php \Drupal\acquia_lift\Form\AdminSettingsForm::setIdentityValues()
Set identity values.
Parameters
\Drupal\Core\Config\Config $settings: Acquia Lift config settings.
array $values: Identity values.
1 call to AdminSettingsForm::setIdentityValues()
- AdminSettingsForm::submitForm in src/
Form/ AdminSettingsForm.php - Form submission handler.
File
- src/
Form/ AdminSettingsForm.php, line 605
Class
- AdminSettingsForm
- Defines a form that configures settings.
Namespace
Drupal\acquia_lift\FormCode
private function setIdentityValues(Config $settings, array $values) {
//$settings->set('identity.capture_identity', trim($values['capture_identity']));
$settings
->set('identity.identity_parameter', trim($values['identity_parameter']));
$settings
->set('identity.identity_type_parameter', trim($values['identity_type_parameter']));
$settings
->set('identity.default_identity_type', trim($values['default_identity_type']));
}