Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Follow up from #287292-129: Add functionality to impersonate a user. The documentation on AccountProxyInterface::setAccount()
needs to be updated to point to the account_switcher
service as a safer way to "impersonate" another user.
Beta phase evaluation
Issue category | Task because it is a follow-up to a normal bug fix |
---|---|
Unfrozen changes | Unfrozen because it only changes documentation |
Proposed resolution
Update the documentation
Remaining tasks
Reviews
Commit
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
account_switcher_docs.patch | 861 bytes | almaudoh | |
Comments
Comment #1
dawehnerLooks good for me
Comment #2
alexpottThis issue is an unfrozen change (documentation) as per https://www.drupal.org/core/beta-changes and it's benefits outweigh any disruption. Committed cc06a92 and pushed to 8.0.x. Thanks!