You are here

private function AdminSettingsForm::setIdentityValues in Acquia Lift Connector 8

Same name and namespace in other branches
  1. 8.4 src/Form/AdminSettingsForm.php \Drupal\acquia_lift\Form\AdminSettingsForm::setIdentityValues()
  2. 8.3 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 368
Contains \Drupal\acquia_lift\Form\AdminSettingsForm.

Class

AdminSettingsForm
Defines a form that configures settings.

Namespace

Drupal\acquia_lift\Form

Code

private function setIdentityValues(Config $settings, array $values) {

  //    $settings->set('identity.capture_identity', $values['capture_identity']);
  $settings
    ->set('identity.identity_parameter', $values['identity_parameter']);
  $settings
    ->set('identity.identity_type_parameter', $values['identity_type_parameter']);
  $settings
    ->set('identity.default_identity_type', $values['default_identity_type']);
}