Projet

Général

Profil

Révision 4cfd8be6

Ajouté par Assos Assos il y a environ 9 ans

Weekly update of contrib modules

Voir les différences:

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;

Formats disponibles : Unified diff