You are here

function password_eye_install in Password Eye 2.0.x

Same name and namespace in other branches
  1. 8 password_eye.install \password_eye_install()

Implements hook_install().

File

./password_eye.install, line 11
Contains \Drupal\password_eye\password_eye.install.

Code

function password_eye_install() {

  // Set default values for config which require dynamic values.
  \Drupal::configFactory()
    ->getEditable('password_eye.settings')
    ->set('password_eye.form_id_password', 'user_login_form')
    ->save();
}