You are here

function open_readspeaker_update_8102 in Open ReadSpeaker 8

Remove unnecessary and unused config 'open_readspeaker.'

File

./open_readspeaker.install, line 24
Requirements and update functions for the Open ReadSpeaker module.

Code

function open_readspeaker_update_8102() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('open_readspeaker.settings');
  $config
    ->clear('open_readspeaker');
  $config
    ->save(TRUE);
}