You are here

private function AdminSettingsForm::setVisibilityValues in Acquia Lift Connector 8

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

Class

AdminSettingsForm
Defines a form that configures settings.

Namespace

Drupal\acquia_lift\Form

Code

private function setVisibilityValues(Config $settings, array $values) {
  $settings
    ->set('visibility.path_patterns', $values['path_patterns']);
}