function flag_user::get_relevant_action_objects in Flag 7.2
Same name and namespace in other branches
- 5 flag.inc \flag_user::get_relevant_action_objects()
- 6.2 flag.inc \flag_user::get_relevant_action_objects()
- 6 flag.inc \flag_user::get_relevant_action_objects()
- 7.3 includes/flag/flag_user.inc \flag_user::get_relevant_action_objects()
Returns objects the action may possible need.
Overrides flag_entity::get_relevant_action_objects
File
- ./
flag.inc, line 1832 - Implements various flags. Uses object oriented style inspired by that of Views 2.
Class
- flag_user
- Implements a user flag.
Code
function get_relevant_action_objects($content_id) {
return array(
'user' => $this
->fetch_content($content_id),
);
}