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