You are here

function persistent_login_update_8103 in Persistent Login 8

Add form field label config value.

File

./persistent_login.install, line 120
Installation functions for Persistent Login module.

Code

function persistent_login_update_8103() {
  Drupal::configFactory()
    ->getEditable('persistent_login.settings')
    ->set('login_form.field_label', 'Remember me')
    ->save();
}