Revision 4cfd8be6
Added by Assos Assos over 9 years ago
drupal7/sites/all/modules/flag/includes/flag.pages.inc | ||
---|---|---|
11 | 11 |
* Used both for the regular callback as well as the JS version. |
12 | 12 |
* |
13 | 13 |
* @param $action |
14 |
* Either 'flag' or 'unflag'. |
|
14 |
* The action about to be performed. One of 'flag' or 'unflag'. |
|
15 |
* @param $flag |
|
16 |
* The flag object. |
|
17 |
* @param $entity_id |
|
18 |
* The ID of the entity to be acted upon. The type is implicit in the flag. |
|
15 | 19 |
*/ |
16 | 20 |
function flag_page($action, $flag, $entity_id) { |
17 | 21 |
global $user; |
Also available in: Unified diff
Weekly update of contrib modules