This PR add the ability to set "rel" attribute of a link when you setup a menu item type of external url.
SEO purpose.
Testing Instructions
Before patch
Create a menu item type of "External url", go to tab "Link type", there is no way to setup an rel attribute.
After patch
Create a menu item type of "External url", add title, link (eg: https://www.google.fr/) then go to tab "Link type", there is a field "Link Rel Attribute" to setup (eg: Nofollow);
Save.
Go to frontend, look at html rendered by a module menu (eg: ul > li > a)
Original testing instructions apply here as well:
This PR add the ability to set "rel" attribute of a link when you setup a menu item type of external url.
SEO purpose.
Testing Instructions
Before patch
Create a menu item type of "External url", go to tab "Link type", there is no way to setup an rel attribute.
After patch
this should seem like this:
Try switching different rel value, for "None" there is no rel attribute: