public function RiddleIntegration::submitForm in Thunder 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/Thunder/OptionalModule/RiddleIntegration.php \Drupal\thunder\Plugin\Thunder\OptionalModule\RiddleIntegration::submitForm()
- 8.4 src/Plugin/Thunder/OptionalModule/RiddleIntegration.php \Drupal\thunder\Plugin\Thunder\OptionalModule\RiddleIntegration::submitForm()
Overrides AbstractOptionalModule::submitForm
File
- src/
Plugin/ Thunder/ OptionalModule/ RiddleIntegration.php, line 39
Class
- RiddleIntegration
- Riddle integration.
Namespace
Drupal\thunder\Plugin\Thunder\OptionalModuleCode
public function submitForm(array $formValues) {
$this->configFactory
->getEditable('riddle_marketplace.settings')
->set('riddle_marketplace.token', (string) $formValues['riddle_token'])
->save(TRUE);
}