Skip to content

How can I get the admin edit user url key for a specific user if I have the user_id and account info, what are the classes/methods for di?

Example:

http://localhost/admin/admin/user/edit/user_id/5/key/db1082c352e51cfb817ce0335dd060cf6e953568daf2da25cca24eadb04dc884/

I want to return ‘db1082c352e51cfb817ce0335dd060cf6e953568daf2da25cca24eadb04dc884’ from within a ViewModel method.