You are here

function html_title_update_8001 in HTML Title 8

Rename html_title.setting config to html_title.settings.

File

./html_title.install, line 11
Install, update and uninstall functions for the HTML Title module.

Code

function html_title_update_8001() {
  if (\Drupal::configFactory()
    ->getEditable('html_title.settings')
    ->isNew()) {
    \Drupal::configFactory()
      ->rename('html_title.setting', 'html_title.settings');
  }
}