You are here

public function IvwIntegration::submitForm in Thunder 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/Thunder/OptionalModule/IvwIntegration.php \Drupal\thunder\Plugin\Thunder\OptionalModule\IvwIntegration::submitForm()
  2. 8.3 src/Plugin/Thunder/OptionalModule/IvwIntegration.php \Drupal\thunder\Plugin\Thunder\OptionalModule\IvwIntegration::submitForm()

Overrides AbstractOptionalModule::submitForm

File

src/Plugin/Thunder/OptionalModule/IvwIntegration.php, line 44

Class

IvwIntegration
IVW Integration.

Namespace

Drupal\thunder\Plugin\Thunder\OptionalModule

Code

public function submitForm(array $formValues) {
  $this->configFactory
    ->getEditable('ivw_integration.settings')
    ->set('site', (string) $formValues['ivw_site'])
    ->set('mobile_site', (string) $formValues['mobile_site'])
    ->save(TRUE);
}