Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

User current paths (user/edit & user/current/*)

Security covered Under active development 1,747 sites

This module provides user ID-neutral paths for user actions, allowing you to link to "user/edit" or "user/current/*" (e.g., "user/current/tracker") instead of needing to know the specific user ID. It also adds an "Edit my account" link to the user menu for logged-in users.

Allows to link to current user actions without the explicit user id:
Provides user ID (UID) neutral user action paths ("user/current/*") and redirects to the current user path by replacing current with the UID. Also adds an "Edit my account" link (new "user/edit" path) to the user menu for logged in users.

Typical problems solved:

  • You'd like to link to the currently logged user edit page, but with Drupal core only you'd have to enter the user id (UID) because it's part of the user edit URL: user/{UID}/edit
  • You'd like to link to other user related actions (user/*/*) for the currently logged in user, like user/{UID}/tracker, user/{UID}/submissions, user/{UID}/shortcuts, user/{UID}/scheduled, ...

Solutions provided:

Simply use this module and one of the following paths:

  • user/edit (current user edit) - also provided as default menu entry in the user menu - only visible for logged in users
  • user/current/{action} (user/current/tracker, user/current/submissions, user/current/shortcuts, user/current/scheduled, ...)

Similar projects:

Supporting this module

Support DROWL's ♥ FOSS work on this module on OpenCollective!

Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!

We're committed to building and maintaining Drupal modules that benefit the entire community.

Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!

If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.

Support our FOSS development ♥️

You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!

Sponsor a feature or bugfix 🚀

Let's make Drupal even better, together!

Development proudly sponsored by German Drupal Friends & Companies:

webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (OWL), Germany (https://www.drowl.de)

Drupal 8–11

Ask your assistant about User current paths (user/edit & user/current/*)

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.0.4 Stable 8–11 Aug 22, 2024