You are here

html_title.install in HTML Title 8

Same filename and directory in other branches
  1. 6 html_title.install
  2. 7 html_title.install

Install, update and uninstall functions for the HTML Title module.

File

html_title.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the HTML Title module.
 */

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

Functions

Namesort descending Description
html_title_update_8001 Rename html_title.setting config to html_title.settings.