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