You are here

function persistent_login_update_8104 in Persistent Login 8

Add default value for cookie_prefix to config.

File

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

Code

function persistent_login_update_8104() {
  Drupal::configFactory()
    ->getEditable('persistent_login.settings')
    ->set('cookie_prefix', 'PL')
    ->save();
}