Make injected Logger service a closure

Created on 21 March 2024, 3 months ago
Updated 22 March 2024, 3 months ago

Problem/Motivation

Follow up to πŸ“Œ Deprecate user_logout() and user_login_finalize() and replace with a service Needs review

Catch commented https://git.drupalcode.org/project/drupal/-/merge_requests/4539#note_276563

This should be a service closure - .e.g. we don't want to instantiate the logger and its own dependencies when someone just looks at the registration form.

We don't have any example of how to do this yet, so added as a follow up.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
User moduleΒ  β†’

Last updated 1 minute ago

Created by

πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024