You are here

public function TrustedHostSettings::submitForm in Security Review 8

Form submission handler.

Parameters

array $form: An associative array containing the structure of the form.

array $values: The current values of the form.

Overrides CheckSettings::submitForm

File

src/CheckSettings/TrustedHostSettings.php, line 34

Class

TrustedHostSettings
Provides the settings form for the TrustedHosts check.

Namespace

Drupal\security_review\CheckSettings

Code

public function submitForm(array &$form, array $values) {
  $this
    ->set('method', $values['method']);
}