You are here

public function NexxIntegration::submitForm in Thunder 8.4

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

Overrides AbstractOptionalModule::submitForm

File

src/Plugin/Thunder/OptionalModule/NexxIntegration.php, line 47

Class

NexxIntegration
Riddle integration.

Namespace

Drupal\thunder\Plugin\Thunder\OptionalModule

Code

public function submitForm(array $formValues) {
  $this->configFactory
    ->getEditable('nexx_integration.settings')
    ->set('nexx_api_authkey', $formValues['nexx_api_authkey'])
    ->set('omnia_id', $formValues['omnia_id'])
    ->save(TRUE);
}