On the user profile page, I want to add link field which will link to a view page.
For example, if the current path is:
sitename/user/1 (profile page of user-1)
The link should be:
It should take the
user-id from the
current-path. It should redirect to
sitename/user/1/view-page, in general
sitename/user/%/view-page, which is my contextual view path.
How can build this link field for the profile page?