Skip to content
Snippets Groups Projects
Commit 57f7da4c authored by Monish Deb's avatar Monish Deb
Browse files

update navigationMenu hook example to show use of 'attr' parameter

parent 7bb537e8
No related branches found
No related tags found
1 merge request!734update navigationMenu hook example to show use of 'attr' parameter
......@@ -134,7 +134,8 @@ function donortrends_civicrm_navigationMenu(&$params) {
'separator' => 1,
'parentID' => $reportID,
'navID' => $navId,
'active' => 1
'active' => 1,
'attr' => ['target' => '_blank'], // if you want to open this menu link in a new page, then add '_target' attribute
),
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment