Closed (duplicate)
Project:
Flag
Version:
7.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2011 at 02:57 UTC
Updated:
21 Aug 2012 at 21:38 UTC
I can create a flag link like this:
$flag_link = flag_create_link('my_flag', $nid);
The link is created according to the link type (ajax, normal link, confirmation form). Awesome!
How can I create a link for a flag in a type not set as its default?
Thanks,
-Steve
Comments
Comment #1
quicksketchYou can't yet, but it is a feature request here: #405580: Add $variables parameter to flag_create_link().
Comment #2
joachim commented