Import for UserInterface went missing

Created on 27 September 2024, 5 months ago

Problem/Motivation

The function l10n_client_contributor_user_token() has a parameter type UserInterface.
But the import for that interface went missing in commit b408c29e "implemented basic auth".
https://git.drupalcode.org/project/l10n_client/-/commit/b408c29e429eefae...

It is called from ClientApiKeyDefaultWidget::formElement().

This leads to error when editing a user account.

Steps to reproduce

Proposed resolution

Restore the missing import.
Before that, as a preparation, reorder the imports.

Remaining tasks

Follow-up work:
Review if this function is really needed or can be inlined or moved elsewhere.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany donquixote

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024