function flag_entity::get_relevant_action_objects in Flag 7.3
Same name and namespace in other branches
- 7.2 flag.inc \flag_entity::get_relevant_action_objects()
Returns objects the action may possible need.
Overrides flag_flag::get_relevant_action_objects
2 methods override flag_entity::get_relevant_action_objects()
- flag_comment::get_relevant_action_objects in includes/
flag/ flag_comment.inc - Returns objects the action may possible need.
- flag_user::get_relevant_action_objects in includes/
flag/ flag_user.inc - Returns objects the action may possible need.
File
- includes/
flag/ flag_entity.inc, line 254 - Contains the flag_entity class.
Class
- flag_entity
- Base entity flag handler.
Code
function get_relevant_action_objects($entity_id) {
return array(
$this->entity_type => $this
->fetch_entity($entity_id),
);
}