public function CommentActivityActionHandler::isPublished in Activity 7
Return whether or not the Activity is published.
Parameters
array $objects: The objects used in tokenization.
int $actor: The actor for the activity.
Overrides NodeActivityActionHandler::isPublished
File
- ./
activity_action_handlers.inc, line 649
Class
- CommentActivityActionHandler
- Activity handler for the comment module. Extends the node handler has it presents a lot of the same things, just more.
Code
public function isPublished($objects, $actor) {
return parent::isPublished($objects, $actor) && $objects['comment']->status;
}