Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I would like to a flag link (of a normal node flag type) on a node page next to "View" and "Edit", that is, as a MENU_LOCAL_TASK.
I could not figure our whether it is possible...
Thanks,
Amir
Comments
Comment #2
joachim CreditAttribution: joachim commentedIIRC, to appear as tabs, the paths must correspond in order for tabs to work, so you can't just use the existing path.
You'd need to define your own menu path which then happens to call Flag's existing menu callbacks.
Comment #3
Amir Simantov CreditAttribution: Amir Simantov commentedThanks Joacim, nice of you to respond that fast and to explain that.