function webform_user_login in Webform 8.5
Same name and namespace in other branches
- 6.x webform.module \webform_user_login()
Implements hook_user_login().
File
- ./
webform.module, line 174 - Enables the creation of webforms and questionnaires.
Code
function webform_user_login($account) {
// Notify the storage of this log in.
\Drupal::entityTypeManager()
->getStorage('webform_submission')
->userLogin($account);
}