function shorten_update_8002 in Shorten URLs 8.2
Implements hook_update_N(). Removes variables for deprecated services.
File
- ./
shorten.install, line 30 - (Un)installs the Shorten module.
Code
function shorten_update_8002() {
\Drupal::configFactory()
->getEditable('shorten.settings')
->clear('shorten_cligs')
->save();
\Drupal::configFactory()
->getEditable('shorten.settings')
->clear('shorten_redirec')
->save();
}