You are here

function no_autocomplete_update_8101 in No Autocomplete 8

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

File

./no_autocomplete.install, line 11
Install, update and uninstall functions for the No Autocomplete module.

Code

function no_autocomplete_update_8101() {

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