public function NodeActivityActionHandler::isPublished in Activity 7
Return whether or not the Activity is published.
Parameters
array $objects: The objects used in tokenization.
int $actor: The uid of the actor for this activity.
Overrides ActivityActionHandler::isPublished
1 call to NodeActivityActionHandler::isPublished()
- CommentActivityActionHandler::isPublished in ./
activity_action_handlers.inc - Return whether or not the Activity is published.
1 method overrides NodeActivityActionHandler::isPublished()
- CommentActivityActionHandler::isPublished in ./
activity_action_handlers.inc - Return whether or not the Activity is published.
File
- ./
activity_action_handlers.inc, line 411
Class
- NodeActivityActionHandler
- Activity handler for node module.
Code
public function isPublished($objects, $actor) {
return parent::isPublished($objects, $actor) && $objects['node']->status;
}