You are here

no_autocomplete.install in No Autocomplete 8

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

Install, update and uninstall functions for the No Autocomplete module.

File

no_autocomplete.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the No Autocomplete module.
 */

/**
 * Issue #2951274: The autocomplete option is not needed for the user edit form.
 */
function no_autocomplete_update_8101() {

  // Deleting the variable.
  \Drupal::service('config.factory')
    ->getEditable('no_autocomplete.settings')
    ->clear('no_autocomplete_profile_form')
    ->save();
}

Functions

Namesort descending Description
no_autocomplete_update_8101 Issue #2951274: The autocomplete option is not needed for the user edit form.