function cleantalk_uninstall in Anti Spam by CleanTalk 8
Same name and namespace in other branches
- 8.4 cleantalk.install \cleantalk_uninstall()
- 8.3 cleantalk.install \cleantalk_uninstall()
- 7.5 cleantalk.install \cleantalk_uninstall()
- 7 cleantalk.install \cleantalk_uninstall()
- 7.2 cleantalk.install \cleantalk_uninstall()
- 7.4 cleantalk.install \cleantalk_uninstall()
- 9.1.x cleantalk.install \cleantalk_uninstall()
Implements hook_uninstall().
File
- ./
cleantalk.install, line 95 - Install and uninstall functions, schema definition for the CleanTalk module.
Code
function cleantalk_uninstall() {
/*\Drupal::config('cleantalk.settings')->clear('cleantalk_automod')->save();
\Drupal::config('cleantalk.settings')->clear('cleantalk_comments')->save();
\Drupal::config('cleantalk.settings')->clear('cleantalk_authkey')->save();
\Drupal::config('cleantalk.settings')->clear('cleantalk_ccf')->save();
// @FIXME
// Could not extract the default value because it is either indeterminate, or
// not scalar. You'll need to provide a default value in
// config/install/cleantalk.settings.yml and config/schema/cleantalk.schema.yml.
\Drupal::config('cleantalk.settings')->get('cleantalk_work_url');
// @FIXME
// Could not extract the default value because it is either indeterminate, or
// not scalar. You'll need to provide a default value in
// config/install/cleantalk.settings.yml and config/schema/cleantalk.schema.yml.
\Drupal::config('cleantalk.settings')->get('cleantalk_server_url');
// @FIXME
// Could not extract the default value because it is either indeterminate, or
// not scalar. You'll need to provide a default value in
// config/install/cleantalk.settings.yml and config/schema/cleantalk.schema.yml.
\Drupal::config('cleantalk.settings')->get('cleantalk_server_ttl');
// @FIXME
// Could not extract the default value because it is either indeterminate, or
// not scalar. You'll need to provide a default value in
// config/install/cleantalk.settings.yml and config/schema/cleantalk.schema.yml.
\Drupal::config('cleantalk.settings')->get('cleantalk_server_changed');*/
}