function DemoUmamiHooks::installConfigureSubmit

Same name and namespace in other branches
  1. 11.x core/profiles/demo_umami/src/Hook/DemoUmamiHooks.php \Drupal\demo_umami\Hook\DemoUmamiHooks::installConfigureSubmit()

Submission handler for the site configuration form.

Parameters

array $form: Form array.

\Drupal\Core\Form\FormStateInterface $form_state: The current form state.

File

core/profiles/demo_umami/src/Hook/DemoUmamiHooks.php, line 83

Class

DemoUmamiHooks
Hook implementations for demo_umami.

Namespace

Drupal\demo_umami\Hook

Code

public function installConfigureSubmit(array $form, FormStateInterface $form_state) : void {
  $password = $form_state->getValue('account')['pass'];
  $this->setUserPasswords($password);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.