Test using inportal with advanced theme
- Create new link in Website & Content → Structure & Data → Directory section
- In themes/advanced/in-link/elements/links.elm.tpl add <inp2:AdminEditButton test="testvalue"/> just after <inp2:AdminEditButton/>
- Goto Website & Content → Browse Website, navigate to Directory section and switch to Content Mode
- Open Network tab in browser developer tools
- Click on first Edit Item button near created link and check url with OnEdit event doesn't contains test=testvalue
- Click on second Edit Item button near created link and check url with OnEdit event contains test=testvalue