private function AdminSettingsForm::setAdvancedValues in Acquia Lift Connector 8.4
Same name and namespace in other branches
- 8.3 src/Form/AdminSettingsForm.php \Drupal\acquia_lift\Form\AdminSettingsForm::setAdvancedValues()
Sets the advanced values.
Parameters
\Drupal\Core\Config\Config $settings: Acquia Lift config settings
array $values: Advanced values
1 call to AdminSettingsForm::setAdvancedValues()
- AdminSettingsForm::submitForm in src/
Form/ AdminSettingsForm.php - Form submission handler.
File
- src/
Form/ AdminSettingsForm.php, line 656
Class
- AdminSettingsForm
- Defines a form that configures settings.
Namespace
Drupal\acquia_lift\FormCode
private function setAdvancedValues(Config $settings, array $values) {
$settings
->set('advanced.bootstrap_mode', $values['bootstrap_mode']);
$settings
->set('advanced.content_replacement_mode', $values['content_replacement_mode']);
$settings
->set('advanced.cdf_version', $values['cdf_version']);
$settings
->set('advanced.content_origins', $values['content_origins']);
}