function comment_activity_type_check in Activity 6.2
Implementation of hook_activity_type_check().
File
- modules/
comment.activity.inc, line 40 - Activity definition file for comment.module
Code
function comment_activity_type_check($token_objects, $types) {
return in_array($token_objects['node']->type, $types);
}